Lewati ke konten

List settlements

The business's settlements (transfers to its bank account on the business's schedule: H+1 on working days by default, or on request with the rest paid on the last working day of the month), newest first. In test mode they are simulated and paid at once. Page with starting_after set to the last id.

Otorisasi

apiKey
headerAuthorizationBearer <token>

lbp_test_... or lbp_live_...

Parameter query

limit?integer
Range1 <= value <= 100
Default20
starting_after?string

Body respons

A page of settlements

application/json
  1. response
object*"list"
Value in"list"
data*array<>
has_more*boolean
Contoh permintaan
curl -X GET 'https://pay.piti.id/v1/settlements'
Contoh respons
{  "object": "list",  "data": [    {      "id": "string",      "object": "settlement",      "mode": "test",      "status": "pending",      "settle_date": "2019-08-24",      "cutoff": "2019-08-24T14:15:22Z",      "payments": 0,      "fees": 0,      "refunds": 0,      "payout_fee": 0,      "amount": 0,      "currency": "IDR",      "entry_count": 0,      "payout_account": {        "bank": "string",        "bank_name": "string",        "account_number": "string",        "holder_name": "string"      },      "bank_reference": "string",      "simulated": true,      "failure_reason": "string",      "created_at": "2019-08-24T14:15:22Z",      "completed_at": "2019-08-24T14:15:22Z",      "trigger": "schedule",      "schedule": "daily",      "period_start": "2019-08-24T14:15:22Z"    }  ],  "has_more": true}