Accept a payment
Technical Author Note
Draft content to be reviewed and verified.
Use a sale to charge a card and settle the funds in a single step.
A sale is the standard flow for a one-time payment. The card is charged and the funds are settled in the same request, with no separate capture step. Use it whenever the final amount is known at the time of payment and won't need adjusting afterwards.
If you need to reserve funds now and settle a possibly different amount later, use Authorise a payment instead. To return funds from a completed sale, use Refund a payment.
How it works
- Authenticate — attach your Bearer token and Integrator ID to the request headers.
- Place card details inside
sender.custom_data: PAN, expiry month, expiry year, and holder name. CVC is submitted separately at rootcustom_data.authentication.cvc. - Set
intent: transfer,channel: ecommerce, androuting.payment_flow: credit_card. - Send a card payment with
intent: transfer; the gateway debits the cardholder immediately. A successful sale returnsstatus: pending(accepted and queued for the network) and anid— save it as yourpayment_id.
Key rules
note
intent: transferdebits funds immediately — there is no separate capture step.senderholds the card;receiverholds theconfiguration_id.
Request body
{
"amount": 1000,
"currency": "EUR",
"sender": {
"type": "credit_card",
"custom_data": {
"pan": "4000000000000000",
"expiry_month": "12",
"expiry_year": "2030",
"holder_name": "NAME NAME"
}
},
"receiver": {
"configuration_id": "idid+001"
},
"routing": {
"payment_flow": "credit_card"
},
"intent": "transfer",
"channel": "ecommerce",
"custom_data": {
"authentication": {
"cvc": "123"
}
}
}
Try it
Call this flow directly in the API Reference.
- POST Create Direct payment