Onboarding API
This header should contain your Oauth2 Token obtained from the Payer API Platform.
Key | In | |
---|---|---|
Authorization | Header |
Onboarding
Everything needed to onboard new & existing customers
Creates a new session.
Called to initiate a new onboarding session. The SDK url in the response can be used to load the Javascript SDK that can be used to initialize the frontend Widget using the provided clientToken. The sessionId in the response can be used to associate callbacks from Payer to this particular session.
OK
Bad Request
Unauthorized
Forbidden
Not Found
Gets information of a session.
Called to get the information of an onboarding session. The information is the same as the one from the callback. The information will only be returned if the ordering customer has finished the widget flow.
OK
Bad Request
Unauthorized
Forbidden
Not Found
Callback
Called by Payer when the status of the onboarding session has been updated. This usually means that the customer has completed the flow, and all data is available. Or that an Pending action has been completed, for example that an approver has signed the session.
The URL called is the URL supplied when creating the session.
OK