Skip to main content
POST
/
cards
/
webhook
/
simulate
/
clearing
curl -X POST "https://api.cryptomate.me/cards/webhook/simulate/clearing" \
  -H "X-API-KEY: $CRYPTOMATE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "card_id": "card_6f1e2a30-4a3c-4b2e-9a1d-5e8c9b7a1f23"
  }'
{
  "code": "NOT_FOUND",
  "message": "Authorization event not found for card card_6f1e2a30-4a3c-4b2e-9a1d-5e8c9b7a1f23"
}
Simulates a card clearing webhook notification for testing. Available in non-production environments only. Requires an API key with access level 2 or higher.

Body

card_id
string
Card identifier to simulate the clearing against.
bill_amount
number
Transaction amount in USD (optional — not used for clearing simulation but accepted in the payload).

Response

Returns HTTP 201 with an empty body on success.
curl -X POST "https://api.cryptomate.me/cards/webhook/simulate/clearing" \
  -H "X-API-KEY: $CRYPTOMATE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "card_id": "card_6f1e2a30-4a3c-4b2e-9a1d-5e8c9b7a1f23"
  }'
{
  "code": "NOT_FOUND",
  "message": "Authorization event not found for card card_6f1e2a30-4a3c-4b2e-9a1d-5e8c9b7a1f23"
}