Logo
Adyen Flows API Documentation

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



Curl
curl -X POST 'CHECKOUT_API_BASE_URL/payments' -H 'Content-Type: application/json' -H 'Accept: application/json' -H 'Idempotency-Key: ' -H 'User-Agent: PostmanRuntime/7.32.3 (flow Giving)'

ENDPOINTS