List all bank accounts
curl --request GET \
--url https://staging-api.chip-in.asia/api/send/bank_accounts \
--header 'Authorization: Bearer <token>' \
--header 'checksum: <checksum>' \
--header 'epoch: <epoch>'import requests
url = "https://staging-api.chip-in.asia/api/send/bank_accounts"
headers = {
"epoch": "<epoch>",
"checksum": "<checksum>",
"Authorization": "Bearer <token>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {epoch: '<epoch>', checksum: '<checksum>', Authorization: 'Bearer <token>'}
};
fetch('https://staging-api.chip-in.asia/api/send/bank_accounts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://staging-api.chip-in.asia/api/send/bank_accounts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"checksum: <checksum>",
"epoch: <epoch>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://staging-api.chip-in.asia/api/send/bank_accounts"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("epoch", "<epoch>")
req.Header.Add("checksum", "<checksum>")
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://staging-api.chip-in.asia/api/send/bank_accounts")
.header("epoch", "<epoch>")
.header("checksum", "<checksum>")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://staging-api.chip-in.asia/api/send/bank_accounts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["epoch"] = '<epoch>'
request["checksum"] = '<checksum>'
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"results": [
{
"id": 3,
"status": "rejected",
"account_number": "157380111111",
"bank_code": "MBBEMYKL",
"group_id": null,
"name": "Ahmad Razali",
"reference": null,
"created_at": "2023-07-20T08:59:10.766Z",
"is_debiting_account": false,
"is_crediting_account": false,
"updated_at": "2023-07-20T08:59:10.766Z",
"deleted_at": null,
"rejection_reason": "Invalid crediting account."
},
{
"id": 2,
"status": "verified",
"account_number": "162263238637",
"bank_code": "CIBBMYKL",
"group_id": null,
"name": "Helmi Ismail",
"reference": null,
"created_at": "2023-07-20T08:54:53.427Z",
"is_debiting_account": false,
"is_crediting_account": false,
"updated_at": "2023-07-20T08:54:53.427Z",
"deleted_at": null,
"rejection_reason": null
},
{
"id": 1,
"status": "pending",
"account_number": "157380112229",
"bank_code": "CIBBMYKL",
"group_id": null,
"name": "Wan Zulkarnain",
"reference": null,
"created_at": "2022-12-29T07:44:23.821Z",
"is_debiting_account": false,
"is_crediting_account": false,
"updated_at": "2022-12-29T07:44:23.821Z",
"deleted_at": null,
"rejection_reason": null
}
],
"meta": {
"pagination": {
"current_page": 1,
"prev_page": null,
"next_page": null,
"total_pages": 1,
"total_count": 3
}
}
}{
"message": "Bad request",
"code": 400,
"data": {}
}{
"message": "Unauthorized",
"code": 401,
"data": {}
}{
"message": "You are not authorized to perform this action",
"code": 403,
"data": {}
}{
"message": "Record not found",
"code": 404,
"data": {}
}{
"message": "Too many requests. Please try again later.",
"code": 429,
"data": {
"retry_after": 300
}
}Bank Accounts
List all bank accounts
Returns list of recipient bank accounts.
GET
/
send
/
bank_accounts
List all bank accounts
curl --request GET \
--url https://staging-api.chip-in.asia/api/send/bank_accounts \
--header 'Authorization: Bearer <token>' \
--header 'checksum: <checksum>' \
--header 'epoch: <epoch>'import requests
url = "https://staging-api.chip-in.asia/api/send/bank_accounts"
headers = {
"epoch": "<epoch>",
"checksum": "<checksum>",
"Authorization": "Bearer <token>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {epoch: '<epoch>', checksum: '<checksum>', Authorization: 'Bearer <token>'}
};
fetch('https://staging-api.chip-in.asia/api/send/bank_accounts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://staging-api.chip-in.asia/api/send/bank_accounts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"checksum: <checksum>",
"epoch: <epoch>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://staging-api.chip-in.asia/api/send/bank_accounts"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("epoch", "<epoch>")
req.Header.Add("checksum", "<checksum>")
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://staging-api.chip-in.asia/api/send/bank_accounts")
.header("epoch", "<epoch>")
.header("checksum", "<checksum>")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://staging-api.chip-in.asia/api/send/bank_accounts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["epoch"] = '<epoch>'
request["checksum"] = '<checksum>'
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"results": [
{
"id": 3,
"status": "rejected",
"account_number": "157380111111",
"bank_code": "MBBEMYKL",
"group_id": null,
"name": "Ahmad Razali",
"reference": null,
"created_at": "2023-07-20T08:59:10.766Z",
"is_debiting_account": false,
"is_crediting_account": false,
"updated_at": "2023-07-20T08:59:10.766Z",
"deleted_at": null,
"rejection_reason": "Invalid crediting account."
},
{
"id": 2,
"status": "verified",
"account_number": "162263238637",
"bank_code": "CIBBMYKL",
"group_id": null,
"name": "Helmi Ismail",
"reference": null,
"created_at": "2023-07-20T08:54:53.427Z",
"is_debiting_account": false,
"is_crediting_account": false,
"updated_at": "2023-07-20T08:54:53.427Z",
"deleted_at": null,
"rejection_reason": null
},
{
"id": 1,
"status": "pending",
"account_number": "157380112229",
"bank_code": "CIBBMYKL",
"group_id": null,
"name": "Wan Zulkarnain",
"reference": null,
"created_at": "2022-12-29T07:44:23.821Z",
"is_debiting_account": false,
"is_crediting_account": false,
"updated_at": "2022-12-29T07:44:23.821Z",
"deleted_at": null,
"rejection_reason": null
}
],
"meta": {
"pagination": {
"current_page": 1,
"prev_page": null,
"next_page": null,
"total_pages": 1,
"total_count": 3
}
}
}{
"message": "Bad request",
"code": 400,
"data": {}
}{
"message": "Unauthorized",
"code": 401,
"data": {}
}{
"message": "You are not authorized to perform this action",
"code": 403,
"data": {}
}{
"message": "Record not found",
"code": 404,
"data": {}
}{
"message": "Too many requests. Please try again later.",
"code": 429,
"data": {
"retry_after": 300
}
}300 requests per API key per 5 minutes, the general limit for
/api/send. Creating a bank account has its own limit. See Rate limits.bank_code values are listed on Supported banks.status reports where verification stands — received, pending, verified, rejected or reviewing. A rejected account carries a rejection_reason. The status filter supports received, pending, verified and rejected. See Verification.Authorizations
Headers
Query Parameters
Filter results by bank account status. Supported values: received, pending,
verified, rejected.
received: The bank account has been created and verification has not started yet.pending: Verification of the bank account with the bank is in progress.verified: The bank has confirmed the bank account, so it can be used for send instructions.rejected: The bank refused to confirm the bank account, so it cannot be used for send instructions;rejection_reasonexplains why.reviewing: CHIP is reviewing the bank account manually; it cannot be used for send instructions until it isverified.
received and pending are not final: wait for a bank_account_status webhook or retrieve the bank account again.
A reviewing account is typically reviewed within 2 working days; contact CHIP support if it takes longer.
A rejected account can be registered again once the rejection is more than one hour old. If nothing about the account has changed, expect the same result, so correct the account details first.
Available options:
received, pending, verified, rejected, reviewing Example:
"verified"