PPylon Developers
ApiPayments

Get payment session by ID

Returns detailed information about a payment session including all payment intents.

GET
/api/v1/payments/sessions/{id}
AuthorizationBearer <token>

Enter your bearer token from the Pylon Auth API.

In: header

Path Parameters

id*string
Formatuuid

Response Body

application/json

application/json

application/problem+json

curl -X GET "https://loading/api/v1/payments/sessions/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "orderId": "b3e1eced-f2bd-4d8c-9765-fbc9d1d222d5",
  "mode": "string",
  "status": "string",
  "currency": "string",
  "totalAmount": 0.1,
  "paidAmount": 0.1,
  "totalDiscountAmount": 0.1,
  "appliedCreditAmount": 0.1,
  "captureMethod": "string",
  "partialCompletionPolicy": "string",
  "expiresAt": "2019-08-24T14:15:22Z",
  "createdAt": "2019-08-24T14:15:22Z",
  "completedAt": "2019-08-24T14:15:22Z",
  "intents": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "payerEmail": "string",
      "payerName": null,
      "amount": 0.1,
      "netAmount": 0.1,
      "status": "string",
      "paidAt": "2019-08-24T14:15:22Z"
    }
  ]
}
{
  "code": "string",
  "message": "string"
}
{
  "code": "string",
  "message": "string"
}