List Banks

GET {{baseUrl}}/payment/banks?page=<integer>&status=<string>

This endpoint allows you to list all banks associated with the store to receive payments.

payments.read- Payments Read Only

Request Params

KeyDatatypeRequiredDescription
pagestringThe Pagination page number
statusstringFilter the banks list by either active or inactive

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;status&quot;:&quot;\u003cnumber\u003e&quot;,&quot;success&quot;:&quot;\u003cboolean\u003e&quot;,&quot;data&quot;:[{&quot;id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;bank_name&quot;:&quot;\u003cstring\u003e&quot;,&quot;account_name&quot;:&quot;\u003cstring\u003e&quot;,&quot;status&quot;:&quot;inactive&quot;},{&quot;id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;bank_name&quot;:&quot;\u003cstring\u003e&quot;,&quot;account_name&quot;:&quot;\u003cstring\u003e&quot;,&quot;status&quot;:&quot;active&quot;}],&quot;pagination&quot;:{&quot;count&quot;:&quot;\u003cnumber\u003e&quot;,&quot;total&quot;:&quot;\u003cnumber\u003e&quot;,&quot;perPage&quot;:&quot;\u003cnumber\u003e&quot;,&quot;currentPage&quot;:&quot;\u003cnumber\u003e&quot;,&quot;totalPages&quot;:&quot;\u003cnumber\u003e&quot;,&quot;links&quot;:{&quot;next&quot;:&quot;\u003cstring\u003e&quot;,&quot;previous&quot;:&quot;\u003cstring\u003e&quot;}}}