Get a settlement
apiKeyheader
AuthorizationBearer <token>lbp_test_... or lbp_live_...
id*stringThe settlement
application/json- response
id*stringobject*"settlement"Value in
"settlement"mode*stringValue in
"test""live"status*stringValue in
"pending""paid""failed"settle_date*stringFormat
datecutoff*stringEntries booked before this time are in it.
Format
date-timepayments*integerfees*integerrefunds*integerpayout_fee*integeramount*integerWhat is transferred.
currency*"IDR"Value in
"IDR"entry_count*integerpayout_account*|nullbank_reference*|The transfer's reference, once paid.
simulated*booleanTest mode: no money moved.
failure_reason*string|nullcreated_at*stringFormat
date-timecompleted_at*|Format
date-timetrigger*stringschedule: made by the business's settlement schedule; merchant: the business withdrew its ready balance from the dashboard (manual schedule).
Value in
"schedule""merchant"schedule*stringThe schedule it was made under: daily (H+1 on working days) or manual (on request; what is not withdrawn is settled on the last working day of the month, trigger schedule).
Value in
"daily""manual"period_start*|The oldest ledger entry in it; with cutoff, the period it covers. Null after a failed transfer released its entries.
Format
date-timecurl -X GET 'https://pay.piti.id/v1/settlements/stl_7Hk2...'Contoh respons
{ "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"}