PPylon Developers
ApiPayments

Get refunds for intent

Returns all refunds associated with a payment intent.

GET
/api/v1/payments/intents/{id}/refunds
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/refunds"
[
  {
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "amount": 0.1,
    "reason": "string",
    "status": "string",
    "requestedAt": "2019-08-24T14:15:22Z",
    "processedAt": "2019-08-24T14:15:22Z"
  }
]
{
  "code": "string",
  "message": "string"
}
{
  "code": "string",
  "message": "string"
}