# Take a card payment with 3-D Secure 2
POST /v1/payments
Authorization: Bearer sk_live_…
{
"amount": 4990,
"currency": "EUR",
"method": "x4b4-ma66",
"x4b4-sf00": true,
"three_d_secure": "required",
"reference": "ORD-10482"
}
One authenticated call takes an amount, a currency and a method.
# Plugin settings — no checkout code
gateway_key = "pk_live_…"
mode = "live"
methods = ["x4b4-ma66", "sepa", "wallets"]
settlement = "EUR"
# The plugin renders exactly the methods
# your account is enabled for. Adding one
# later is a switch on our side.
On a hosted cart there is no checkout code to write at all.
# Pre-authorise now, settle when you ship
POST /v1/payments/pre-auth -> auth_9f2c
# Then, from the terminal or the API
POST /v1/payments/auth_9f2c/capture
POST /v1/payments/auth_9f2c/refund
POST /v1/payments/auth_9f2c/void
# Same ledger, same reporting, same fees.
Phone and back-office orders, without a developer in the loop.