post https://api.accelevents.com/rest/host/event//settings/disconnect/square
This API is used to disconnect the Square 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 |
---|---|
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. |