Try asking a question about Knot to the AI assistant, or install the MCP server or Knot skill to build with AI right from your IDE.
curl --request POST \
--url https://development.knotapi.com/development/accounts/link \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"external_user_id": "abc123",
"merchant_id": 19,
"card_switcher": true,
"card_id": "81n9al10a0ayn13"
}
'{
"message": "Success"
}Link a merchant account in development.
curl --request POST \
--url https://development.knotapi.com/development/accounts/link \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"external_user_id": "abc123",
"merchant_id": 19,
"card_switcher": true,
"card_id": "81n9al10a0ayn13"
}
'{
"message": "Success"
}Documentation Index
Fetch the complete documentation index at: https://docs.knotapi.com/llms.txt
Use this file to discover all available pages before exploring further.
card_switcher: true) or generate new transactions (by passing the transactions object in the request).
AUTHENTICATED event to your webhook, then POST card data to the Send Card (JWE) or Send Card endpoint.CARD_UPDATED or CARD_FAILED event.card_id parameter is required when card_switcher is true. The card_switcher parameter is mutually exclusive with the transactions parameter. You cannot use both in the same request.AUTHENTICATED event to your webhook.NEW_TRANSACTIONS_AVAILABLE event to your webhook.AUTHENTICATED event to your webhook.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.
The input parameters required for linking a merchant account in development.
Your unique identifier for the user.
"abc123"
Unique identifier for the merchant.
19
When set to true, simulates the card switcher flow.
true
Your unique identifier for a specific card. Required when card_switcher is true.
"81n9al10a0ayn13"
Optional key-value pairs to include in webhook payloads. Maximum 10 keys, 500 characters per value.
Show child attributes
{
"reference_token": "abc123",
"trace_id": "def456"
}Successful request.
Success message.
"Success"
Was this page helpful?
Suggestions