Sessions
Create a session for a payment service
Creates a session for a payment service. This endpoint directly passes the request through to the relevant payment service for processing, and so the schema will differ based on the service used.
If the downstream service returns an error, this API will return a successful response with the status code in the response.
POST
This endpoint requires the transactions.write
scope.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
The unique ID of the payment service definition.
Example:
"stripe-card"
Body
application/json · object
A request to generate a session for a payment session.
Response
200
application/json
Returns the response from the downstream service used to generate the session.
A session request for a payment session. This is an opaque object passed to the payment service.