Payments

Cancel wallet token

Changed on

This service allows merchants to cancel an active token.

post/payments/wallet/{token}/cancel

Request

  • Base URL
    https://api.dlocal.com
  • URL
    https://api.dlocal.com/payments/wallet/{token}/cancel
  • Auth
    API key in header X-Date and API key in header X-Login and API key in header X-Trans-Key and API key in header Content-Type and API key in header X-Version and API key in header User-Agent and API key in header Authorization

Path parameters

tokenstring required

The unique token that identifies the recurring payment agreement or stored payment method that it wants to cancel.

Response

200

statusstring
status_detailstring

Example response

{
  "wallet": {
    "token": "0dd58e5c-cd2f-42f3-8e4e-47a01e3da164"
  },
  "status": "CANCELLED",
  "status_detail": "The wallet token was cancelled."
}

Changes