Skip to main content
GET
/
v1
/
banks
List Banks
curl --request GET \
  --url https://staging-openapi.accountingplus.id/v1/banks \
  --header 'A-Data: <api-key>' \
  --header 'A-Signature: <api-key>' \
  --header 'Authorization: Bearer <token>'
{
  "status": "00",
  "message": "success",
  "data": [
    [
      {
        "bank_code": "BCA",
        "bank_name": "Bank Central Asia"
      },
      {
        "bank_code": "BRI",
        "bank_name": "Bank Rakyat Indonesia"
      },
      {
        "bank_code": "BNI",
        "bank_name": "Bank Negara Indonesia"
      }
    ]
  ],
  "metadata": {
    "total": 3,
    "limit": 10,
    "offset": 0,
    "current_page": 1,
    "total_pages": 1
  }
}
Plain Signature
path=/v1/banks&token=YOUR_TOKEN&[email protected]&tenant_id=841eaf97-c428-47d1-9f6d-c61cc9df7bee

Authorizations

Authorization
string
header
required

Generate a JWT signed with the client_secret and include the client_id as a claim in its payload.

A-Signature
string
header
required

Generate the signature by creating an SHA256-HMAC hash from the plain signature above, using the signature_secret as the key. Then, Base64-encode the resulting hash and place the final value in the A-Signature header.

A-Data
string
header
required

Include the email and tenant_id in the payload as Base64 encoded.

Query Parameters

limit
integer
default:10

Number of items per page

Required range: 1 <= x <= 100
page
integer
default:1

Page number for pagination

Required range: x >= 1

Search by bank name or code

Response

200 - application/json

List of banks retrieved successfully

status
string
Example:

"00"

message
string
Example:

"success"

data
object[]
metadata
object