Card Payment Method Codes
Reference of paymentMethod codes for credit and debit cards by country, card brand, and currency.
Every card payin requires a paymentMethod object that tells Localpayment which country, product, and card brand to process. This article lists the codes for each supported country so you can build that object correctly in any card flow.
How the Card paymentMethod Object Works
The same three fields are used for every card flow:
| Field | Description | Values |
|---|---|---|
| paymentMethod.type | Card product | CreditCard or DebitCard |
| paymentMethod.code | Identifies the country, product, and card brand. In Peru it also identifies the currency. | See the tables below |
| paymentMethod.flow | Integration flow | DIRECT |
The type must match the product of the code. For example, code 1906 (Mastercard debit in Colombia) is sent with "type": "DebitCard".
"paymentMethod": {
"type": "CreditCard",
"code": "1900",
"flow": "DIRECT"
}Codes by Country
Argentina (ARS)
| Card Brand | Credit Card | Debit Card |
|---|---|---|
| Visa | 1000 | 1005 |
| Mastercard | 1001 | 1007 |
| American Express | 1006 | — |
| Naranja | 1010 | — |
| Cabal | 1014 | 1021 |
Colombia (COP)
| Card Brand | Credit Card | Debit Card |
|---|---|---|
| Visa | 1900 | 1905 |
| Mastercard | 1904 | 1906 |
| American Express | 1901 | — |
| Diners Club | 1907 | — |
Mexico (MXN)
| Card Brand | Credit Card | Debit Card |
|---|---|---|
| Visa | 1600 | 1603 |
| Mastercard | 1601 | 1604 |
Peru (PEN and USD)
Peru accepts card payments in Peruvian soles (PEN) and US dollars (USD). Each currency has its own code, so the code you send must match the currency of the request.
| Card Brand | Currency | Credit Card | Debit Card |
|---|---|---|---|
| Visa | PEN | 6000 | 6010 |
| Mastercard | PEN | 6001 | 6011 |
| Visa | USD | 6004 | 6012 |
| Mastercard | USD | 6005 | 6013 |
In Peru, always pick the code from the row that matches the
currencyof your request. A PEN code must be sent with"currency": "PEN"and a USD code with"currency": "USD".
For minimum and maximum amounts, working hours, and card logos, see the country pages in Countries & Markets.
To check which card flows (one-time payments, 3D Secure, installments, subscriptions, and more) each country supports, see Card Operations. For complete request and response examples, see One-Time Payments and the Create Payin API reference.
Next Steps
Updated about 7 hours ago
