---
api: 'Business API'
---

# Cancel a card invitation

Cancel a specific card invitation, based on its ID.

:::note
- This feature is not available in Sandbox.
- To increase your account's card limits, please contact [Revolut API Support](mailto:api-requests@revolut.com).
:::

You can cancel successfully created invitations that have not been claimed yet (`state=created`).

Once the card invitation is cancelled, it cannot be claimed or reactivated.

A successful response does not get any content in return.

For more information, see the guides: [Manage card invitations](/docs/guides/manage-accounts/cards/manage-card-invitations).

## Endpoint

POST `/card-invitations/{cardInvitationId}/cancel`

## Parameters

### path parameters

- `card_invitation_id` (string, required)
  The ID of the card invitation to cancel.

## Returns

### 204

Card invitation successfully cancelled

## Error responses

| HTTP status code | Description |
| --- | --- |
| 400 | Bad request  Returned, for example, when the format of the invitation ID you provided is invalid. |
| 401 | Unauthorised  Returned, for example, when the credentials you used to make the request are invalid. For more information, see the **Authorization** section. |
| 404 | Card invitation doesn't exist  The card invitation you wish to cancel does not exist. |
| 422 | Unprocessable entity  Returned, for example, when you try to cancel a card invitation that's not in state `created`. Such an invitation is no longer active and therefore cannot be cancelled. |
