Callback Payment Retail
API Name | Callback Payment Retail |
---|
Function | API yang digunakan untuk menginformasikan kepada mitra PakaiLink ketika kode payment telah dilakukan pembayaran. |
Method | POST |
Service Code | 32 |
URL | URL yang ditambahkan saat mengakses endpoint create kode payment emoney sebelumnya. |
Content Type | application/json |
Related Service | Payment Retail |
Request
Header
No | Name | Type | Length | Required | Condition | Remarks |
---|
1 | Content-Type | String | Variable, 127 max | Wajib | – | Tipe konten, nilai selalu application/json |
3 | 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) |
7 | X-SIGNATURE | String | Variable | Wajib | – | Signature harus dihasilkan dengan metode Symmetric Signature |
Body
No | Name | Type | Length | Required | Condition | Remarks |
---|
1 | transactionData | JSON Object | Variable | Wajib | – | Berisi informasi data callback transaksi emoney. |
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=="
{
"transactionData": {
"paymentFlagStatus": "00",
"paymentFlagReason": {
"english": "Success",
"indonesia": "Sukses"
},
"partnerReferenceNo": "cD3b5yRiCtGmbFhaNCbhPde5W0jymwHzeEf6",
"customerNo": "31857119",
"customerName": "Setya Wardana",
"paidAmount": {
"value": "50000.00",
"currency": "IDR"
},
"feeAmount": {
"value": "3000.00",
"currency": "IDR"
},
"creditBalance": {
"value": "47000.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": "2003200",
"responseMessage": "Successful"
}
Kode dan Pesan Response
No | Response Kode | Response Pesan | Keterangan |
---|
1 | 2003200 | Successful | Request telah berhasil diproses tanpa ada masalah |