Callback Payment Emoney
API Name | Callback Payment Notif Emoney |
---|
Function | API yang digunakan untuk menginformasikan kepada mitra PakaiLink ketika kode payment telah dilakukan pembayaran. |
Service Code | 30 |
Method | POST |
URL | URL yang ditambahkan saat mengakses endpoint create kode payment emoney sebelumnya. |
Content Type | application/json |
Related Service | E-money |
Request
Header
No | Name | Type | Length | Required | Condition | Remarks |
---|
1 | Content-Type | String | Variable, 127 max | Wajib | – | Tipe konten, nilai selalu application/json |
2 | X-TIMESTAMP | String | Fixed, 25 max | Wajib | – | Waktu transaksi, dalam format YYYY-MM-DDTHH:mm:ss+07:00. Zona waktu harus GMT+7 (Jakarta time) |
3 | X-SIGNATURE | String | Variable | Wajib | – | Signature harus dihasilkan dengan metode Symmetric Signature |
Body
No | Name | Type | Length | Required | Condition | Remarks |
---|
1 | partnerReferenceNo | String | Variable | Wajib | – | Nomor unik (hingga 20 digits). |
2 | transactionData | JSON Object | Variable | Wajib | – | Berisi informasi data callback transaksi emoney. |
3 | paymentFlagStatus | | | | | |
4 | paymentFlagReason | | | | | |
5 | paymentFlagReason.english | | | | | |
6 | paymentFlagReason.indonesia | | | | | |
7 | customerNo | | | | | |
8 | customerName | | | | | |
9 | emoneyPhone | | | | | |
10 | paidAmount | | | | | |
11 | paidAmount.value | | | | | |
12 | paidAmount.currency | | | | | |
13 | feeAmount | | | | | |
14 | feeAmount.value | | | | | |
15 | feeAmount.currency | | | | | |
16 | creditBalance | | | | | |
17 | creditBalance.value | | | | | |
18 | creditBalance.currency | | | | | |
19 | additionalInfo | | | | | |
20 | additionalInfo.callbackUrl | | | Wajib | | |
21 | additionalInfo.balance | | | | | |
22 | additionalInfo.balance.value | | | | | |
23 | additionalInfo.balance.currency | | | | | |
Contoh Request
POST /callback/partner
"Content-Type": "application/json",
"X-Timestamp": "2025-03-04T12:33:28+07:00",
"X-Signature": "Au/HnhHlzXvfe3VK0zLYAEkEGiH2Zrc9lctjastNB/Ho/G4Z9N67e8zvH0j4WeK+2fTCsQg0LoWJqAlFtMBDqN7IBtffy4MzJ6uNN5P9TDp758f/xZlPrdT/c9MY7Y1IuirLHSQUxg3pO/ZDW0iKseordnGcxYYbhiApZxzd6Bw3z+uR+PlZA4CbZdORwCWLzcI1DL9VCXmjeH+NZCtf24CskGA+RhiFH/Vr95Vxux2oYSzDyy/xG5GASYujdIZ/dx9zC+lh9okLwhIEhF5bJ07bYu/IqKFPREEWZgiJ0gbyO5Mgh1RZh7EK6NNx7KuZSLZLW0aa3c62fNa6VhQFbA=="
{
"partnerReferenceNo": "V9I4JJJott8YQu4jZgWLUmHM7unEQ5B4j0Hh",
"transactionData": {
"paymentFlagStatus": "00",
"paymentFlagReason": {
"english": "Success",
"indonesia": "Sukses"
},
"customerNo": "31857118",
"customerName": "Hermawan",
"emoneyPhone": "081133383900",
"paidAmount": {
"value": "11000.00",
"currency": "IDR"
},
"feeAmount": {
"value": "3000.00",
"currency": "IDR"
},
"creditBalance": {
"value": "8000.00",
"currency": "IDR"
},
"additionalInfo": {
"callbackUrl": "http://localhost:10007/callback/partner",
"balance": {
"value": "997000.00",
"currency": "IDR"
}
}
}
}
Response
Body
No | Name | Type | Length | Required | Condition | Remarks |
---|
1 | responseCode | String | Fixed, 7 max | Wajib | – | Lihat daftar kode response. |
2 | responseMessage | String | Variable, 150 max | Wajib | – | Lihat daftar kode response. |
Contoh Response
{
"responseCode": "2003000",
"responseMessage": "Successful"
}
Kode dan Pesan Response
No | Response Kode | Response Pesan | Keterangan |
---|
1 | 2003000 | Successful | Request telah berhasil diproses tanpa ada masalah |