Saving cards
Create a card
Changed onSecurely register a card with dLocal and receive a card_id to use for future payments.
post/secure_cards
Request
- Base URLhttps://api.dlocal.com
- URLhttps://api.dlocal.com/secure_cards
- AuthAPI 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
Request body
Response
200
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"
}Changes
- breaking
the request property
became required - info
api tag
Saving cardsadded
- breaking