PlexySDK DOCS
API EndpointsSessions

Get the result of a payment session

GET
/sessions/{sessionId}

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://api.plexypay.com/v2/sessions/string?sessionResult=string"
{
  "id": "CS37D372C44F83716CE84D22F",
  "status": "completed",
  "reference": "payment-ref-1729012345",
  "payments": [
    {
      "amount": {
        "currency": "string",
        "value": 0
      },
      "paymentMethod": {
        "brand": "string",
        "type": "string"
      },
      "pspReference": "863628121234567P",
      "resultCode": "Authorised"
    }
  ],
  "additionalData": {}
}