POST
/api/v2/mor/public/cards/{cardId}/cancelPermanently cancel a merchant-owned card.
Available, pending, and frozen provider balances must all be zero. Repeating cancellation of an already cancelled card succeeds without deleting it again.
Authentication
Send your API key in the x-api-key header on every request.
Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| cardId (path) | integer (int32) | Yes |
Responses
200 — OK
| Field | Type | Required | Description |
|---|---|---|---|
| Success | boolean | No | |
| Message | string | No | |
| Card | MorCardSummary | No |
Example request
curl -X POST "https://{base_url}/api/v2/mor/public/cards/{cardId}/cancel" \
-H "x-api-key: YOUR_API_KEY"This page is generated from the live OpenAPI specification and always matches the current API.