C#
Create a session for a payment service definition
Creates a session for a payment service that supports sessions.
POST
C#
This endpoint requires theDocumentation Index
Fetch the complete documentation index at: https://docs.byzly.com/llms.txt
Use this file to discover all available pages before exploring further.
transactions.write scope.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Example:
"adyen-ideal"
Body
application/json
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.
Example:
"succeeded"
Always payment-service-session.
Allowed value:
"payment-service-session"Example:
"payment-service-session"
A generic error code that may be returned when the session could not be generated.
Example:
"UNKNOWN_ERROR"
The HTTP status code received from the payment service.
Example:
201
The JSON response body received from the payment service.
Example:
{ "sessionId": "12345" }