Bank Raya Account Inquiry API
API Information
|
Title |
API Info Saldo Bank RAYA |
|---|---|
|
Version |
v1 |
|
URL Sandbox |
|
|
URL Production |
|
Version Control
|
API Version |
Date |
Link to document |
Description |
|---|---|---|---|
|
v1 |
5 Maret 2021 |
this pages |
Baseline version. |
Description Product
This API enables partners to obtain customer account information. The data consist of account name, balance, and status.
Endpoint
A. Account Inquiry: Single
Endpoint Explanation
This API is used to check your account information, such as account name, balance, and status.
General Information
|
HTTP Method |
POST |
|---|---|
|
Path |
/inquiry/single |
|
Tipe Format |
JSON |
|
Authentication |
Token & Signature |
Header Structure
|
Key |
Value |
Mandatory |
Length |
Description |
Example |
|---|---|---|---|---|---|
|
Authorization |
Bearer {{Token}} |
M |
|
Oauth2.0 Token |
|
|
Content-Type |
application/json |
M |
|
|
|
Request Structure
|
Field |
Data Type |
Mandatory |
Length |
Description |
Example |
|---|---|---|---|---|---|
|
accountNumber |
String |
M |
15 |
Account Number of the customer |
001001000060300 |
|
deviceInfo |
String |
O |
100 |
Number to identify valid devices of customer or IMEI |
6123142 |
Response Structure
|
Field |
Data Type |
Mandatory |
Length |
Description |
Example |
|---|---|---|---|---|---|
|
responseCode |
String |
- |
- |
Response Code |
- |
|
responseDescription |
String |
- |
- |
Response Description |
- |
|
errorDescription |
String |
- |
- |
Error Description |
- |
|
data |
Array |
- |
- |
Array Data |
- |
Request & Response Payload Sample
Request:
{
"accountNumber": "001001000060300",
"deviceInfo": "6123142"
}
Normal Response:
{
"responseCode": "0100", "responseDescription": "Inquiry Saldo Success", "errorDescription": "",
"data": [
{
"001001000060300", "S",
"MONIKA SARI FARDANI", "IDR",
10
"1320568778.54"
}
]
}
Error Response:
{ "responseCode": "0101", "responseDescription": "Inquiry Failed", "errorDescription": "Get Data Failed" }
List of Error/Response Code
|
HTTP Status |
Code |
Status |
Response Description |
Error Description |
Description |
|---|---|---|---|---|---|
|
200 |
0100 |
Success |
Get data success |
|
Response Success |
|
200 |
0102 |
Failed |
Inquiry Failed |
Account Number Cannot Be Empty! |
Response Failed |
|
200 |
0103 |
Failed |
Inquiry Failed |
Invalid account number! |
Response Failed |
|
200 |
0104 |
Failed |
Inquiry Failed |
Nomor Rekening tidak valid |
Response Failed |
|
200 |
0400 |
Failed |
Inquiry Failed |
deviceInfo length must be less than or equal to 100 characters long |
Response Failed |
|
200 |
0500 |
Failed |
Inquiry Failed |
Connection Lost |
Response Failed |
B. Account Inquiry: Multiple
Endpoint Description
This API is used to check multiple account information at once.
General Information
|
HTTP Method |
POST |
|---|---|
|
Path |
/inquiry/multiple |
|
Tipe Format |
JSON |
|
Authentication |
Token & Signature |
Header Structure
|
Key |
Value |
Mandatory |
Length |
Description |
Example |
|---|---|---|---|---|---|
|
Authorization |
Bearer {{Token}} |
M |
|
Oauth2.0 Token |
|
|
Content-Type |
application/json |
M |
|
|
|
Request Structure
|
Field |
Data Type |
Mandatory |
Length |
Description |
Example |
|---|---|---|---|---|---|
|
cifNo |
String |
M |
10 |
Cif Number of the customer |
0000000423 |
|
deviceInfo |
String |
O |
100 |
Number to identify valid devices of customer or IMEI |
6123142 |
Response Structure
|
Field |
Data Type |
Mandatory |
Length |
Description |
Example |
|---|---|---|---|---|---|
|
responseCode |
String |
- |
- |
Response Code |
- |
|
responseDescription |
String |
- |
- |
Response Description |
- |
|
errorDescription |
String |
- |
- |
Error Description |
- |
|
data |
Array |
- |
- |
Array Data |
- |
|
data |
Array |
- |
- |
Array Data |
- |
Request & Response Payload Sample
Request:
{
"cifNo": "0000000423",
"deviceInfo": "6123142"
}
Normal Response:
{
"responseCode": "0100",
"responseDescription": "Inquiry Saldo Multiple Success", "errorDescription": "",
"data": [
{
"001001000060300", "S",
"MONIKA SARI FARDANI", "IDR",
"1320568778.54"
}
]
}
Error Response:
{
"responseCode": "0101", "responseDescription": "Inquiry Failed", "errorDescription": "Get Data Failed"
}
List of Error/Response Code
|
HTTP Status |
Code |
Status |
Response Description |
Error Description |
Description |
|---|---|---|---|---|---|
|
200 |
0100 |
Success |
Get data success |
|
Response Success |
|
200 |
0102 |
Failed |
Inquiry Failed |
CIF Number Cannot Be Empty! |
Response Failed |
|
200 |
0103 |
Failed |
Inquiry Failed |
Invalid CIF number! |
Response Failed |
|
200 |
0104 |
Failed |
Inquiry Failed |
Cif Number Should Be 10 Digit! |
Response Failed |
|
200 |
0500 |
Failed |
Inquiry Failed |
Connection Lost |
Response Failed |