Checks that a sell onboarding URL was built by this endpoint for the authenticated client and has not been tampered with. The checkout calls it with the parameters and signature the URL was opened with before acting on them: 204 when they are genuine, ER336 when they are not.
POST
/api/v2/sell/onboarding/verify
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”object
signature
required
The signature parameter of the onboarding URL.
string
Example
afnsifuhwaensdkfnsdsir9324989r3ssd identifier
The identifier parameter of the onboarding URL, unchanged.
string
returnUrl
The returnUrl parameter of the onboarding URL, unchanged.
string
locale
The locale parameter of the onboarding URL, unchanged.
string
payoutMethod
The payoutMethod parameter of the onboarding URL, unchanged (comma-separated).
string
kycShareToken
The kycShareToken parameter of the onboarding URL, unchanged.
string
Responses
Section titled “ Responses ”The onboarding URL is genuine.
A list of possible errors for this endpoint.
object
code
required
string
message
required
string
solution
required
string
Example
{ "errors": { "ER331": { "code": "ER331", "message": "Secret not set", "solution": "Please contact support for assistance." }, "ER336": { "code": "ER336", "message": "Signature is invalid.", "solution": "Provide a valid Signature." }, "ER800": { "code": "ER800", "message": "Authorization token is invalid.", "solution": "Provide a valid authorization token." }, "ER801": { "code": "ER801", "message": "Authorization token has expired.", "solution": "Request a new authorization token." }, "ER802": { "code": "ER802", "message": "Authorization token not found.", "solution": "Provide an authorization token." }, "ER803": { "code": "ER803", "message": "Multiple authorization methods used.", "solution": "Use exactly one authorization method." }, "ER805": { "code": "ER805", "message": "API key is invalid.", "solution": "Provide a valid API key." }, "ER806": { "code": "ER806", "message": "API key not found.", "solution": "Provide an API key." }, "ER999": { "code": "ER999", "message": "A general error has occurred. Please contact our support team.", "solution": "Contact our support team." } }}