POST - Block Card
Blocks the card identified by the cardId path parameter. This is a reversible action and the card can be unblocked using the unblock operation.
Block a card
End point
https://api.up.money/cards/block/{cardId}
Headers
Path Parameters
id (required)
string
^[0-9]+$
The unique identifier of a managed card.
Sample Request
curl --location --request POST 'https://api.up2.money/cards/block/{cardId}' \
--header 'x-secret: YWJjMTIzIQ==' \
--header 'Authorization-key: YOUR_AUTHORIZATION_KEY' \
--data ''
Response Status
204 Success - No Content.
401 Unauthorized - Your credentials or access token are invalid.
403 Forbidden - Access to the requested resource or action is forbidden.
404 Not found - The requested resource couldn't be found.
429 Too many requests.
500 Internal Server Error - There is a problem with the server. Please try again later.
503 Service Unavailable - We're temporarily offline for maintenance. Please try again later.
Last updated