Skip to main content

Fetch bank list

The following endpoint retrieves the list of banks

/disbursements/banks

Example#

curl -u <YOUR_SECRET_KEY> \
-X GET https://api.durianpay.id/v1/disbursements/banks \
-H "content-type: application/json"'

Response#

{
"data": [
{
"id": 1,
"name": "BCA",
"code": "BCA",
"instruction": {},
"type": "disbursement",
"created_at": "2021-03-18T09:51:13.13246Z",
"updated_at": "2021-03-18T09:51:13.13246Z"
},
{
"id": 2,
"name": "MANDIRI",
"code": "MANDIRI",
"instruction": {},
"type": "disbursement",
"created_at": "2021-03-18T09:51:13.13246Z",
"updated_at": "2021-03-18T09:51:13.13246Z"
},
{
"id": 3,
"name": "BNI",
"code": "BNI",
"instruction": {},
"type": "disbursement",
"created_at": "2021-03-18T09:51:13.13246Z",
"updated_at": "2021-03-18T09:51:13.13246Z"
}
]
}