API Push Notification RDN v2
API Information
| Title | Title Push Notification RDN |
|---|---|
| Version | v2.0 |
| URL Sandbox | Provided by PE |
| URL Production |
Version Control
| API Version | Date | Link to Document | Description |
|---|---|---|---|
| v2.0 | 18 Maret 2021 | This page | Baseline version. |
Product Description
Product Overview
This API is a feature that will send transaction push notifications to partners.
Endpoint
A.Notification Account RDN
Endpoint Description
This API is a feature that will send transaction push notifications to partners
General Information
| HTTP Method | POST |
|---|---|
| Path | Provide by PE |
| Tipe Format | JSON |
| Authentication | - |
Header Structure
|
Key |
Value |
Mandatory |
Length |
Description |
Example |
|---|---|---|---|---|---|
|
Content-Type |
application/json |
M |
- |
- |
- |
Request Structure
|
Field |
Data Type |
Mandatory |
Length |
Description |
Example |
|---|---|---|---|---|---|
|
idTransaction |
String |
M |
18 |
ID transaksi |
|
|
externalReference |
String |
M |
36 |
Unique transaction code Note : For reversal transactions the last digit will be "E" |
|
|
seq |
String |
M |
10 |
Journal sequence bookkeeping |
|
|
accountNo |
String |
M |
15 |
Account number |
|
|
accountCurrency |
String |
M |
3 |
Currency code |
|
|
transactionDate |
String |
M |
19 |
Transaction date in the format "yyyy MM-dd HH:mm:ss" |
|
|
transactionCode |
String |
M |
4 |
Transaction code with the following list: • NTRF → transaksi transfer • NINT → transaksi bunga simpanan • NTAX → transaksi pajak simpanan • NREV → transaksi reversal |
|
|
transactionPosition |
String |
M |
1 |
Posisi transaksi dengan daftar sebagai berikut : • D → transaksi debet • C → transaksi kredit |
|
|
amount |
Decimal |
M |
(18,2) |
Transaction nominal |
|
|
openingBalance |
Decimal |
M |
(18,2) |
Initial balance position |
|
|
closingBalance |
Decimal |
M |
(18,2) |
Final balance position |
|
|
transactionDescription |
String |
M |
40 |
Transaction remarks |
|
|
SID |
String |
M |
15 |
SID |
|
|
SRE |
String |
M |
14 |
SRE |
|
|
accountDebit |
String |
O |
15 |
Destination account number |
|
|
accountCredit |
String |
O |
15 |
Destination account number |
Response Structure
|
Field |
Data Type |
Mandatory |
Length |
Description |
Example |
|---|---|---|---|---|---|
|
responseCode |
String |
M |
2 |
Response Code |
- |
|
responseDescription |
String |
M |
60 |
Response Description |
- |
|
data |
Object |
M |
- |
JSON Object |
- |
|
idTransaction |
String |
C |
18 |
ID Transaction |
- |
|
externalReference |
String |
C |
36 |
Unique transaction code |
- |
Request & Response Payload Sample
Request :
{
"idTransaction": "20063",
"externalReference": "202101800206252023040000001900200630",
"seq": "19",
"accountNo": "067101082768500",
"accountCurrency": "IDR",
"transactionDate": "2021-01-18 11:59:35",
"transactionCode": "NTRF",
"transactionPosition": "C",
"amount": "50500.00",
"openingBalance": "0.00",
"closingBalance": "5050000000.00",
"transactionDescription": "OB TESTING NAMA",
"SID": "IDD071184108492",
"SRE": "OD00110YS00121",
"accountDebit": "",
"accountCredit": ""
}
Normal Response :
{
"responseCode": "00",
"responseDescription": " Success ",
"data": {
"idTransaction": "20063",
"externalReference": "202101800206252023040000001900200630"
}
}
List of Error/Response Code
|
HTTP Status |
Code |
Status |
Response Description |
Description |
|---|---|---|---|---|
|
200 |
00 |
Success |
Success |
Success if you get RC 00, otherwise fail |
|
200 |
01 |
Failed |
External reference already exist |
Request Failed |
|
200 |
02 |
Failed |
Invalid transaction |
Request Failed |
|
200 |
03 |
Failed |
Failed to update data |
Request Failed |
|
200 |
99 |
Failed |
General error |
Request Failed |