Testing & sandbox data 🛎️
Direct Payment API
Test cards, values, and request rules for the sandbox environment. This page covers the data referenced in the Quickstart's test payment, laid out here in full for reference as you build.
Test cards
| Brand | PAN | Typical use |
|---|---|---|
| Mastercard | 5341260000000056 | Debit / sale tests |
| Visa | 4236080000000125 | Alternate brand |
Use expiry 12/2033, any holder name, and test CVC 987 — unless your certification script specifies otherwise.
Amounts
Send amounts as integers in the currency's minor unit: 10101 means 101.01 EUR. For zero-decimal currencies like JPY, send the full amount directly: 1000 means 1000 JPY.
Core request rules
A few rules govern how a card payment request is structured:
- Debit (the card pays the merchant) — the card is the
sender, and the merchant isreceiver.configuration_id. - Credit (the merchant pays the card) — the card is the
receiver, and the merchant issender.configuration_id. - CVC always goes in
custom_data.authentication.cvc, kept separate from the other card fields. - Channel — use
channel: ecommercefor card-not-present flows. - Routing — use
routing.payment_flow: credit_cardfor card payments.