latestOpenAPI 3.0.02026-07-2422987517.5 KB
ff1aeb3fda8b
Vendor card
Reprint (re-issue) a card
Re-issues a card, producing a new VendorCard (for example after a physical card is lost or damaged). Authorized for admins or the cardholder.
Flow:
- The card's vendor must support re-issuing (can_reprint?), otherwise 412.
- Shipping fields (recipient_name, shipping_address, contact_phone) are only valid for physical cards; sending them for a virtual card returns 422.
- If the card is not already canceled, it is first canceled for reprint; if the cancellation cannot complete, the endpoint returns 412.
- On success the newly issued card is returned.
The request body is optional; provide shipping details to redirect the reprinted physical card.
post/v1/vendor_cards/{vendor_card_id}/reprint
Path parameters
vendor_card_idstring required
The id of the vendor card
Parameters
#/paths/~1v1~1merchants/get/parameters/0 — unresolved $ref
Request body
Example request
{
"recipient_name": "María Pérez",
"contact_phone": "+56912345678",
"shipping_address": {
"street": "Av. Apoquindo",
"number": "4700",
"municipality_id": 13114,
"complement": "Oficina 501"
}
}Response
The newly issued (reprinted) vendor card.
Example response
{
"id": "Q2FyZDoxMDIwNjQ5Mw==",
"user_id": "U2MGkNZT6zNPKtB85OpJi9SjFvG2",
"type": "PomeloCard",
"name": "AWS",
"last4": "4163",
"status_preference": "inactive",
"migrated": true,
"limit_amount": {
"amount": "3000.0",
"formatted": "$3.000 CLP",
"cents": "3000.0",
"currency_iso": "CLP"
},
"limit_interval": "daily",
"limit_amount_preference": {
"amount": "3000.0",
"formatted": "$3.000 CLP",
"cents": "3000.0",
"currency_iso": "CLP"
},
"allocated_amount": {
"amount": "3000.0",
"formatted": "$3.000 CLP",
"cents": "3000.0",
"currency_iso": "CLP"
},
"allocated_amount_preference": {
"amount": "3000.0",
"formatted": "$3.000 CLP",
"cents": "3000.0",
"currency_iso": "CLP"
},
"recurring_allocation_amount_cents": 50000,
"remaining_balance": "2000.0",
"spent": 472025,
"company_expendable_balance_in_limit_currency": "3200000.0",
"spent_in_interval_with_limit_currency": 472025,
"vendor_max_allocation": {
"amount": "3000.0",
"formatted": "$3.000 CLP",
"cents": "3000.0",
"currency_iso": "CLP"
},
"preference_restricted_spendable": "2000.0",
"spent_in_interval": 472025,
"spent_in_vendor_interval": 472025
}