Skip to content

Deleting a Card

Method for deleting a customer's bound card.

URL

Method: DELETE

  • Production: https://api.pay.kvell.group/v1/customers/{customer_key}/cards
  • Stage: https://api.pay.stage.kvell.group/v1/customers/{customer_key}/cards

Request parameters

Name Data type Required Description
token string Yes Bound card token

Request headers

Name Data type Required Description
X-Api-Key string Yes Unique shop identifier
X-Signature string Yes Signature

The X-Signature signature is built by concatenating X-Api-Key, customer_key, token, and secret_key. sha256 is computed from the resulting string:

sha256({x-api-key}{customer_key}{token}{secret_key})

where secret_key is the secret key found in the merchant's shop settings;

Response

Response example

{
  "token": "string"
}
{
  "errors": [
    {
      "message": "string",
      "code": 0
    }
  ]
}