Block card

Stops a customer's card

This endpoint allows an administrator to block a customer's card.

Depending on the new status provided, the card will be marked as blocked,
and the system will interact with the processor to enforce the block.

Supports specifying a stop reason and maintains a history of block/unblock operations.

Important considerations

  • card_id must be valid and belong to the authenticated customer.
  • The card must be in a state that allows blocking.
  • Different stop reasons can be specified.
  • The card status is updated in the database to reflect the block.
  • A note can be provided explaining the reason for blocking.
  • The operation is logged in the block/unblock history.
  • If the card is already blocked with the same or higher hierarchy status, the operation may be skipped.
  • Stopped cards can be reactivated later using the unstop endpoint.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
int64
required

The card's primary key

int64

The card's customer's primary key
Required when user is Admin.

int64
required

The card's new status. Depending on this value UnDosTres may apply some extra logic,
but the card will be blocked on the processor's side regardless.

string

Further explanation on why the card is being blocked

Headers
string
required

OAuth token belonging to the e-commerce

string
required

OAuth token belonging to the customer

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json