List payments
Newest first. Page with starting_after set to the last id of the previous page.
apiKeyheader
AuthorizationBearer <token>lbp_test_... or lbp_live_...
status?stringValue in
"pending""paid""expired""failed""refunded"reference?stringsource?stringOnly payments from this source (the dashboard's Tagihan list uses dashboard).
Value in
"api""dashboard""subscription""xendit""duitku"created_gte?stringOnly payments created at or after this time (RFC 3339).
Format
date-timecreated_lt?stringOnly payments created before this time (RFC 3339).
Format
date-timepaid_gte?stringOnly payments paid at or after this time (RFC 3339). For reconciliation by paid date.
Format
date-timepaid_lt?stringOnly payments paid before this time (RFC 3339).
Format
date-timelimit?integerRange
1 <= value <= 100Default
20starting_after?stringA page of payments
application/json- response
object*"list"Value in
"list"data*array<>has_more*booleancurl -X GET 'https://pay.piti.id/v1/payments'Contoh respons
{ "object": "list", "data": [ { "id": "string", "object": "payment", "app_id": "string", "mode": "test", "reference": "string", "method": "qris", "status": "pending", "currency": "IDR", "amount": 0, "fee": 0, "total": 0, "net": 0, "fee_payer": "merchant", "refunded_amount": 0, "paid_late": true, "review_reason": "amount_mismatch", "description": "string", "customer": {}, "metadata": {}, "return_url": "string", "checkout_url": "string", "provider_ref": "string", "qris": { "content": "string", "expires_at": "2019-08-24T14:15:22Z" }, "va": { "bank": "mandiri", "bank_name": "string", "number": "string" }, "expires_at": "2019-08-24T14:15:22Z", "paid_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "source": "api", "created_by": { "id": "string", "name": "string" }, "subscription": { "id": "string", "cycle": 0, "period_start": "2019-08-24T14:15:22Z", "period_end": "2019-08-24T14:15:22Z" } } ], "has_more": true}