Skip to Content

List payments

Newest first. Page with starting_after set to the last id of the previous page.

Authorization

apiKey
headerAuthorizationBearer <token>

lbp_test_... or lbp_live_...

Query Parameters

status?string
Value in"pending""paid""expired""failed""refunded"
reference?string
source?string

Only payments from this source (the dashboard's Tagihan list uses dashboard).

Value in"api""dashboard""subscription""xendit""duitku"
created_gte?string

Only payments created at or after this time (RFC 3339).

Formatdate-time
created_lt?string

Only payments created before this time (RFC 3339).

Formatdate-time
paid_gte?string

Only payments paid at or after this time (RFC 3339). For reconciliation by paid date.

Formatdate-time
paid_lt?string

Only payments paid before this time (RFC 3339).

Formatdate-time
limit?integer
Range1 <= value <= 100
Default20
starting_after?string

Response Body

A page of payments

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'
Example Response
{  "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}