> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cryptomate.me/llms.txt
> Use this file to discover all available pages before exploring further.

# Simulate reversal webhook

> Simulate a card reversal webhook event for testing.

Simulates a card reversal webhook notification for testing. Reverses the most recent authorization on the card, before it is cleared. Available in non-production environments only. Requires an API key with access level 2 or higher.

## Body

<ParamField body="card_id" type="string" required>
  Card identifier to simulate the reversal against.
</ParamField>

<ParamField body="bill_amount" type="number" required>
  Amount to reverse in USD.
</ParamField>

## Response

Returns HTTP 201 with an empty body on success.

<RequestExample>
  ```bash cURL theme={null}
  curl -X POST "https://api.cryptomate.me/cards/webhook/simulate/reversal" \
    -H "x-api-key: $CRYPTOMATE_API_KEY" \
    -H "Content-Type: application/json" \
    -d '{
      "card_id": "aBcD1efGh2iJkL3mnOpQ4rStUvWxYz56",
      "bill_amount": 100.00
    }'
  ```
</RequestExample>

<ResponseExample>
  ```json 404 Authorization Event Not Found theme={null}
  {
    "code": "NOT_FOUND",
    "message": "Authorization event not found for card aBcD1efGh2iJkL3mnOpQ4rStUvWxYz56"
  }
  ```
</ResponseExample>
