Cancel onboarding
POST
/onboarding/{onboardingId}/cancel
Code sample: Shell / cURL
curl --request POST \ --url https://welcome.ztlpay.io/onboarding/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/cancel \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”onboardingId
required
string format: uuid
Responses
Section titled “Responses”Onboarding cancelled successfully
Headers
Section titled “Headers”ztl-request-id
string format: uuid
Unique RequestId, please provide this Id in case of support requests
Example
3a797348-ef0c-4f52-b821-fdfcdb98c4d9Bad request
Media typeapplication/json
object
ztlRequestId
required
Unique RequestId, please provide this Id in case of support requests
string format: uuid
message
required
The underlying reason for the error
string
Example
{ "ztlRequestId": "3a797348-ef0c-4f52-b821-fdfcdb98c4d9", "message": "Invalid account"}Headers
Section titled “Headers”ztl-request-id
string format: uuid
Unique RequestId, please provide this Id in case of support requests
Example
3a797348-ef0c-4f52-b821-fdfcdb98c4d9Internal server error
Media typeapplication/json
object
ztlRequestId
required
Unique RequestId, please provide this Id in case of support requests
string format: uuid
message
required
The underlying reason for the error
string
Example
{ "ztlRequestId": "3a797348-ef0c-4f52-b821-fdfcdb98c4d9", "message": "Invalid account"}Headers
Section titled “Headers”ztl-request-id
string format: uuid
Unique RequestId, please provide this Id in case of support requests
Example
3a797348-ef0c-4f52-b821-fdfcdb98c4d9Service unavailable
Media typeapplication/json
object
ztlRequestId
required
Unique RequestId, please provide this Id in case of support requests
string format: uuid
message
required
The underlying reason for the error
string
Example
{ "ztlRequestId": "3a797348-ef0c-4f52-b821-fdfcdb98c4d9", "message": "Invalid account"}Headers
Section titled “Headers”ztl-request-id
string format: uuid
Unique RequestId, please provide this Id in case of support requests
Example
3a797348-ef0c-4f52-b821-fdfcdb98c4d9