API Reference

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 codeError Description
4060017Cannot disconnect, {PAYMENT_GATEWAY} customer already created.
4060008Unable to disconnect account.

Here is the description of response attributes, which returns to the form of JSON.

AttributeDescription
typeSuccess
messageAccount disconnected successfully.
Language
Credentials
Header
Click Try It! to start a request and see the response here!