transactions.write scope.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
The ID of the merchant account to use for this request.
Examples:
"default"
Path Parameters
the ID of the payment service
Examples:
"fffd152a-9532-4087-9a4f-de58754210f0"
Body
application/json · Body · object
The JSON payload to sent to the payment service's session API.
Response
Successful Response
The session data received from the payment service.
The status of the response.
Available options:
succeeded, failed Examples:
"succeeded"
Always payment-service-session.
Allowed value:
"payment-service-session"Examples:
"payment-service-session"
A generic error code that may be returned when the session could not be generated.
Examples:
"UNKNOWN_ERROR"
The HTTP status code received from the payment service.
Examples:
201
The JSON response body received from the payment service.
Examples:
{ "sessionId": "12345" }