List billable-lookup invoices
Reads the LOCAL PROJECTION of the rail's inquiry invoices. It does not dial the rail, so it is safe on every page load; use the sync endpoint to refresh. total is the count across all pages, not the length of this one.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
rail*string
The rail identifier.
Value in
"fake" | "flip" | "mandiri" | "bca" | "uob" | "danarapay"Query Parameters
status?string
Filter by invoice status.
Value in
"INITIATED" | "UNPAID" | "PAID"offset?integer
Range
0 <= valuelimit?integer
Range
1 <= value <= 500Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://sandbox.505pay.link/v1/rails/fake/invoices"{
"invoices": [
{
"invoice_ref": "string",
"status": "INITIATED",
"amount": "string",
"currency": "IDR",
"tx_date": "string",
"synced_at": "string",
"pay_in_flight": true
}
],
"total": 0
}{
"error": "validation_failed",
"message": "amount must be a decimal string"
}{
"error": "unauthenticated",
"message": "missing or invalid credentials",
"request_id": "01916b2a-f3c0-7000-0000-0000000000ff"
}{
"error": "permission_denied",
"message": "permission denied",
"request_id": "01916b2a-f3c0-7000-0000-0000000000ff"
}{
"error": "validation_failed",
"message": "amount must be a decimal string"
}Was this page helpful?