Skip to content

Commit

Permalink
chore(onboarding): adds deprecation notice to submit onboarding data
Browse files Browse the repository at this point in the history
  • Loading branch information
VictorAvelar committed Aug 8, 2023
1 parent 1306e2c commit 4bafe67
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mollie/onboarding.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ type OnboardingData struct {
// SubmitOnboardingData sends data that will be prefilled in the merchant’s onboarding.
// Please note that the data you submit will only be processed when the onboarding status is needs-data.
//
// This endpoint has been deprecated. It will be supported for the foreseeable future, but new implementations should
// use the Create client link endpoint to create new clients and submit their organization’s details in one go.
//
// See: https://docs.mollie.com/reference/v2/onboarding-api/submit-onboarding-data
func (os *OnboardingService) SubmitOnboardingData(ctx context.Context, d *OnboardingData) (res *Response, err error) {
res, err = os.client.post(ctx, onboardingTarget, d, nil)
Expand Down

0 comments on commit 4bafe67

Please sign in to comment.