CheckoutPayments

Get the result of a payment session

GET
/sessions/{sessionId}

Returns the status of the payment session with the sessionId and sessionResult specified in the path.

Authorization

AuthorizationBasic <token>

In: header

Path Parameters

sessionId*string

A unique identifier of the session.

Query Parameters

sessionResult*string

The sessionResult value from the Drop-in or Component.

Response Body

application/json

curl -X GET "https://example.com/sessions/string?sessionResult=string"

The status of the session with the specified ID.

{  "id": "CS12345678",  "status": "completed"}