Sessions
Create payment service session by id
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 ID of the payment service.
Body
application/json · object
A request to generate a session for a payment session.
Response
200 - application/json
A session request for a payment session. This is an opaque object passed to the payment service.
The type of this resource.
Available options:
payment-service-session
The status of the response.
succeeded
- The session was successfully generated.failed
- The session could not be generated.
Available options:
succeeded
, failed
A generic error code that may be returned when the session could not be generated.
The HTTP status code received from the payment service.
The parsed JSON received from the payment service.
Was this page helpful?