Skip to Content

List a payment's refunds

Oldest first.

Authorization

apiKey
headerAuthorizationBearer <token>

lbp_test_... or lbp_live_...

Path Parameters

id*string

Response Body

The refunds

application/json
  1. response
object*"list"
Value in"list"
data*array<>
has_more*boolean
Example Request
curl -X GET 'https://pay.piti.id/v1/payments/pay_8Fq2.../refunds'
Example Response
{  "object": "list",  "data": [    {      "id": "string",      "object": "refund",      "payment_id": "string",      "mode": "test",      "currency": "IDR",      "amount": 0,      "reason": "string",      "status": "pending",      "created_at": "2019-08-24T14:15:22Z",      "completed_at": "2019-08-24T14:15:22Z"    }  ],  "has_more": true}