Make a card payment
POST {{CHECKOUT_API_BASE_URL}}/payments
Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our payment method guides. The response depends on the payment flow: * For a direct flow, the response includes a pspReference
and a resultCode
with the payment result, for example Authorised or Refused. * For a redirect or additional action, the response contains an action
object.
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
Content-Type
|
string | ||
Accept
|
string | ||
Idempotency-Key
|
null | ||
User-Agent
|
string | Mark start of the flow |
RESPONSES
status
ENDPOINTS