Cards
Allows you to associate a credit card with a buyer
The last credit card associated with the buyer will always be considered the DEFAULT.
Card data must be encrypted and must follow the object structure below:
{
"holder_name": "John Doe",
"card_number": "4716588836362104",
"expiration_month": "12",
"expiration_year": "2025",
"security_code": "123"
}
post/v1/cards
Request body
Example request
{
"encrypted_card": "U2FsdGVkX19/KxeUpl25r00ejtEkXsMQhZt/CF/QdJFalEHzW5CoryrX9LzwhMPxLST/yH46PGSSn8uXoPZ8cM46Fj+udK9X/f+UghZzl/QAMKTKCAi785RlfDGWi+VhAXPZJhgka+hXmAoHUQRduE8g5jM75Smkf3xrq9miwQvRbOcC1AwTXL9nC7zhuoKEdmmoi1Vot+xipLEQFXB9Kg=="
}Response
The object has been successfully created
Example response
{
"created_at": "2026-09-01T23:59:59+00:00",
"updated_at": "2026-10-01T23:59:59+00:00",
"card_brand": "MasterCard",
"first4_digits": "1234",
"last4_digits": "6789",
"expiration_month": "12",
"expiration_year": "2030",
"holder_name": "Julio Alvarenga"
}Changes
No recorded changes to this endpoint across all 1 revision of this API.