POST
/
accounts
/
unlink
cURL
curl --request POST \
  --url https://development.knotapi.com/accounts/unlink \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "external_user_id": "abc123",
  "merchant_id": 12
}'
{
"message": "Success"
}
This endpoint unlinks a merchant account from the Knot platform. It does not remove a card from a user’s merchant account.

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password. Use your client_id as the username and your secret as the password value.

Body

application/json

The input parameters required for unlinking a merchant account.

external_user_id
string
required

Your unique identifier for the user.

Example:

"abc123"

merchant_id
integer
required

Unique identifier for the merchant.

Example:

12

Response

Successful request.

message
string

Success message.

Example:

"Success"