PPylon Developers
ApiPayments

Get payment intent by ID

Returns detailed information about a specific payment intent.

GET
/api/v1/payments/intents/{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/intents/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "paymentSessionId": "75099bcf-22d5-43f9-8976-b7c5692eaa85",
  "payerEmail": "string",
  "payerName": null,
  "amount": 0.1,
  "discountAmount": 0.1,
  "netAmount": 0.1,
  "status": "string",
  "paymentMethodTypes": [
    "string"
  ],
  "selectedPaymentMethod": null,
  "requiresAction": true,
  "actionUrl": null,
  "multibancoEntity": null,
  "multibancoReference": null,
  "createdAt": "2019-08-24T14:15:22Z",
  "paidAt": "2019-08-24T14:15:22Z",
  "allocations": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "orderLineItemId": "76e46dd1-1490-4e01-be54-abbe8cd82005",
      "ticketIndex": 0,
      "lineItemType": "string",
      "grossAmount": 0.1,
      "discountAmount": 0.1,
      "amount": 0.1
    }
  ]
}
{
  "code": "string",
  "message": "string"
}
{
  "code": "string",
  "message": "string"
}