POST
/
card
curl --request POST \
  --url https://development.knotapi.com/card \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "task_id": "123456",
  "jwe": "ey..."
}'
{
  "message": "Success"
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
The input parameters required for switching a card.
task_id
string
required

task_id value provided in the AUTHENTICATED webhook.

Example:

"123456"

jwe
string
required

JWE value.

Example:

"ey..."

Response

200
application/json
Successful request.
message
string

Success message.

Example:

"Success"