POST/api/v2/mor/public/cards/{cardId}/unload

Unload a merchant-owned card to the merchant's account.

Company scope comes exclusively from the current API key. MOR success and business-error properties use camelCase. Validation may return application/problem+json; authentication may return plain text. The existing sensitive-operation 429 body uses Message, Code and Status. 429 means the configured request limit was exceeded; honor Retry-After when present.

Authentication

Send your API key in the x-api-key header on every request.

Parameters

Request parameters
FieldTypeRequiredDescription
cardId (path)integer (int32)Yes
Idempotency-Key (header)stringNoOptional for existing clients; strongly recommended for every mutation. Use a unique key per company/business operation and reuse it with the identical method, path, query, content type and body on retry. Completed requests replay the original status/body, including 207 and errors. A different request returns 409 IDEMPOTENCY_KEY_CONFLICT. A running/interrupted request returns 409 IDEMPOTENCY_OUTCOME_PENDING; reconcile, never switch keys to bypass it. Records have no automatic expiry. No key means legacy behavior without replay protection. LabelPrefix is not a deduplication key.

Request body

application/json

Request body fields
FieldTypeRequiredDescription
AmountunknownNo

Responses

200 — OK

Response 200 fields
FieldTypeRequiredDescription
cardobjectNo
grossAmountunknownNo
netAmountunknownNo
feeAmountunknownNo
transferAmountunknownNoAmount submitted to the provider to transfer to/from the card; not a settlement confirmation. NetAmount is preserved for legacy clients.
merchantAccountDeltaunknownNoExpected merchant account change: negative for a load, positive for an unload, after the reported fee.
feeCurrencystringNo

400 — Bad Request

Response 400 fields
FieldTypeRequiredDescription
messagestringNo
codestringNo

401 — Unauthorized

Response 401 fields
FieldTypeRequiredDescription
typestringNo
titlestringNo
statusunknownNo
detailstringNo
instancestringNo

403 — Forbidden

Response 403 fields
FieldTypeRequiredDescription
messagestringNo
codestringNo

404 — Not Found

Response 404 fields
FieldTypeRequiredDescription
messagestringNo
codestringNo

409 — Conflict

Response 409 fields
FieldTypeRequiredDescription
messagestringNo
codestringNo

429 — Too Many Requests

Response 429 fields
FieldTypeRequiredDescription
typestringNo
titlestringNo
statusunknownNo
detailstringNo
instancestringNo

500 — Internal Server Error

Response 500 fields
FieldTypeRequiredDescription
messagestringNo
codestringNo

503 — Service Unavailable

Response 503 fields
FieldTypeRequiredDescription
messagestringNo
codestringNo

Example request

curl -X POST "https://{base_url}/api/v2/mor/public/cards/{cardId}/unload" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

This page is generated from the live OpenAPI specification and always matches the current API.