Get All Disbursement
GET/v3/disbursement
Use this endpoint to get the list of transaction you’ve made. By default, the result will be paginated by 20. You can change the pagination, filter, and sort the result by changing the url parameter.
Request
Query Parameters
The pagination of the result. Default value is 20
The page number of the result to be viewed.
Sort the result by the attribute. Use the attribute name (e.g sort=id) to sort in ascending order or dash+attribute name (e.g sort=-id) to sort in descending order.
Flip's transaction ID
Amount of the transaction
Transaction status
The time when the disbursement request created
Bank code of the recipient bank
The name of the recipient account holder
Remark to be included in the transfer made to the recipient
The time when the transaction is finished. Will only show valid value when the status is DONE
The channel of which the transaction was created
The direction of the transaction
Responses
- 200
- 401
- 422
Expected Response
- application/json; charset=UTF-8
- Schema
- Example (from schema)
Schema
{
"id": 10,
"user_id": 20,
"amount": 10000,
"status": "PENDING",
"reason": "asd",
"timestamp": "2017-08-28T14:32:47Z",
"bank_code": "bni",
"account_number": "1122333300",
"recipient_name": "John Doe",
"sender_bank": "bri",
"remark": "some remark",
"receipt": "asdasdasdsa",
"time_served": "0000-00-00T00:00:00Z",
"bundle_id": 0,
"company_id": 7,
"recipient_city": 391,
"created_from": "API",
"direction": "DOMESTIC_TRANSFER",
"sender": "null",
"fee": 1500,
"beneficiary_email": "test@mail.com,user@mail.com",
"idempotency_key": "idem-key-1"
}
Sample response when Your Flip api secret key value for Authorization is missing or invalid
- application/json; charset=UTF-8
- Schema
- Example (from schema)
Schema
{
"name": "Unauthorized",
"message": "Your request was made with invalid credentials.",
"status": 401
}
Response if there's a validation error
- application/json; charset=UTF-8
- Schema
- Example (from schema)
Schema
Array [
]
errors
object[]
{
"code": "VALIDATION_ERROR",
"errors": [
{
"attribute": "pagination",
"code": 1032,
"message": "Pagination should be a number and more than 0"
}
]
}