Creates a payment session for Web Drop-in and Web Components integrations.The response contains encrypted payment session data. The front end then uses the session data to make any required server-side calls for the payment flow.You get the payment outcome asynchronously, in an AUTHORISATION webhook.
Request
Header Params
Body Params application/json
Examples
Responses
🟢201Created - the request has been fulfilled and has resulted in one or more new resources being created.
application/json
Body
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST '/sessions' \
--header'Content-Type: application/json' \
--data-raw''