Saving cards

Retrieve a card

Changed on

Retrieve information about a saved card.

get/cards/{card_id}

Request

  • Base URL
    https://api.dlocal.com
  • URL
    https://api.dlocal.com/cards/{card_id}
  • 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

card_idstring required

The card ID received when saving the card.

Response

200

card_idstring
holder_namestring
expiration_monthinteger
expiration_yearinteger
last4string
brandstring

Example response

{
  "card_id": "CV-af85ddba-f5f4-4644-b3fa-3c922e0687e9",
  "holder_name": "Thiago Gabriel",
  "expiration_month": 10,
  "expiration_year": 2040,
  "last4": "1111",
  "brand": "VI"
}

Changes