The session data received from the payment service.
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
Type |
string | ➖ | Always payment-service-session. |
payment-service-session |
Status |
string | ✔️ | N/A | |
Code |
string | ➖ | A generic error code that may be returned when the session could not be generated. | UNKNOWN_ERROR |
StatusCode |
long | ➖ | The HTTP status code received from the payment service. | 201 |
ResponseBody |
Dictionary<String, object> | ➖ | The JSON response body received from the payment service. | { "sessionId": "12345" } |