v1

latestOpenAPI 3.1.02026-07-245361280.3 KB

Create a card

Securely register a card with dLocal and receive a card_id to use for future payments.

post/secure_cards

Request body

countrystring

Payment processing country code. ISO 3166-1 alpha-2 code.

Response

200

holder_namestring
expiration_monthinteger
expiration_yearinteger
brandstring
last4string
card_idstring
countrystring

Example response

{
  "holder_name": "Thiago Gabriel",
  "expiration_month": 10,
  "expiration_year": 2040,
  "brand": "VI",
  "last4": "1111",
  "card_id": "CID-2210908e-6d8e-468d-9eb3-d551e8b541a0",
  "country": "BR"
}