Mollie.Onboarding (mollie v0.7.2)
Rertrieve or submit data that is used for onboarding organizations onto your merchant account. Please note that the data you submit will only be processed when the onboarding status is needs-data
.
Link to this section Summary
Functions
Get the status of onboarding of the authenticated organization
Submit 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
.
Link to this section Functions
me(client)
Specs
me(Mollie.Client.t()) :: Mollie.response()
Get the status of onboarding of the authenticated organization
example
Example
Mollie.Onboarding.me client
More info at: https://docs.mollie.com/reference/v2/onboarding-api/get-onboarding-status
submit(client, params \\ %{})
Submit 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
.
Onboarding body example
%{
"organization" => %{
"name" => "Mollie B.V.",
"address" => %{
"streetAndNumber" => "Keizersgracht 313",
"postalCode" => "1018 EE",
"city" => "Amsterdam",
"country" => "NL"
},
"registrationNumber" => "30204462",
"vatNumber" => "NL815839091B01"
},
"profile" => %{
"name" => "Mollie",
"url" => "https =>//www.mollie.com",
"email" => "info@mollie.com",
"phone" => "+31208202070",
"categoryCode" => 6012
}
}
example
Example
Mollie.Onboarding.submit client, onboarding_body
More info at: https://docs.mollie.com/reference/v2/onboarding-api/submit-onboarding-data