post https://api.accelevents.com/rest/host/event//settings/disconnect/stripe
This API is used to disconnect the Stripe account. To get this API we need to pass the authentication key to authenticate the user.
Here are the possible error messages, which return if any condition gets failed or required data is missing for processing.
Error code | Error Description |
---|---|
4060034 | You are not authorized to disconnect Stripe. |
4060017 | Cannot disconnect, {PAYMENT_GATEWAY} customer already created. |
4060008 | Unable to disconnect account. |
Here is the description of response attributes, which returns to the form of JSON.
Attribute | Description |
---|---|
type | Success |
message | Account disconnected successfully. |