Creates a session for a payment service that supports sessions.
transactions.write scope.Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The JSON payload to sent to the payment service's session API.
Successful Response
The session data received from the payment service.
The status of the response.
succeeded, failed Always payment-service-session.
"payment-service-session"A generic error code that may be returned when the session could not be generated.
"UNKNOWN_ERROR"
The HTTP status code received from the payment service.
201
The JSON response body received from the payment service.
{ "sessionId": "12345" }