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://secure.development.knotapi.com/card \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"user": {
"name": {
"first_name": "Ada",
"last_name": "Lovelace"
},
"phone_number": "+11234567890",
"address": {
"street": "100 Main Street",
"city": "New York",
"region": "NY",
"postal_code": "12345",
"country": "US",
"street2": "#100"
}
},
"card": {
"number": "4242424242424242",
"expiration": "08/2025",
"cvv": "123"
},
"task_id": "123456"
}
'{
"message": "Success"
}Switch a card in a user’s merchant account.
curl --request POST \
--url https://secure.development.knotapi.com/card \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"user": {
"name": {
"first_name": "Ada",
"last_name": "Lovelace"
},
"phone_number": "+11234567890",
"address": {
"street": "100 Main Street",
"city": "New York",
"region": "NY",
"postal_code": "12345",
"country": "US",
"street2": "#100"
}
},
"card": {
"number": "4242424242424242",
"expiration": "08/2025",
"cvv": "123"
},
"task_id": "123456"
}
'{
"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.
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
The input parameters required for switching a card.
Show child attributes
Show child attributes
task_id value provided in the AUTHENTICATED webhook.
"123456"
Successful request.
Success message.
"Success"
Was this page helpful?
Suggestions