Payment Notify v2.0.0
Specification
The Following tabel is spesification for this API :
API Name | Payment Notify |
---|---|
Function | This API is used to notify payment status and information from Paydia to merchant’s platform |
Service Code | 52 |
Method | POST |
URL | /snap/v2.0/qr/qr-mpm-notify |
Accept | application/json |
Content Type | application/json |
Related Service | QRIS MPM (Acquirer) |
Request
The following part will be describe about parameter of request in this API:
Request Parameter
The following table is a list of request parameter in this API:
Header
The following table is Header of Request Parameters :
No | Name | Type | Length | Required | Condition | Remarks |
---|---|---|---|---|---|---|
1 | Content-Type | String | Variable, 127 max | Mandatory | - | Content type, value always application/json |
2 | X-TIMESTAMP | String | Fixed, 25 max | Mandatory | - | Transaction date time, in format YYYY-MM-DDTHH:mm:ss+07:00. Time must be in GMT+7 (Jakarta time) |
3 | X-PARTNER-ID | String | Variable, 36 max | Mandatory | - | ID for partner was generated by Paydia. Unique ID for a partner |
4 | X-EXTERNAL-ID | String | Variable, 36 max | Mandatory | - | Unique messaging reference ID generated by merchant. Numeric String. Reference number that should be unique in the same day |
5 | CHANNEL-ID | String | Variable, 5 max | Mandatory | - | Device identification on which the API services is currently being accessed by the end user (customer) |
6 | X-SIGNATURE | String | Variable | Mandatory | - | Signature need to be validate with Asymmetric Signature method |
Body
The following table is a body of request parameter:
No | Name | Type | Length | Required | Condition | Remarks |
---|---|---|---|---|---|---|
1 | originalPartnerReferenceNo | String | Variable, 64 max | Mandatory | - | Original transaction identifier on partner system |
2 | originalReferenceNo | String | Variable, 64 max | Mandatory | - | Original transaction identifier on Paydia system. Must be filled upon successful transaction |
3 | latestTransactionStatus | String | Fixed, 2 max | Mandatory | - | Category code for the status of the transaction. The values include:
|
4 | transactionStatusDesc | String | Variable, 50 max | Optional | - | Description status transaction |
5 | amount | Money | Variable | Mandatory | - | Contains two sub-fields:
|
6 | additionalInfo | JSON Object | Variable | Optional | - | Additional Information |
Request Sample
The following script is a request sample of this API:
POST /v2.0/qr/qr-mpm-notify
X-TIMESTAMP: 2024-07-25T15:52:56+07:00
X-PARTNER-ID: 35d1a1127182a65e4fe0256242a40a6d
X-SIGNATURE: PUeKXxkkB9unK89yN+LnO+DrZ9ADiBoCJueCL0Tx1wz54a7Iq9Y5nGmmb//7gsm/ZBZjKjtCwOU+Y703MB3Pc+sjQ5GLsLCZ/0fQb7pip3S9H9/hTR2hkIlZY8YMyJYgFKVw82386mDhqHpfGuHtb9y1p4dJ1ELyRcZJimp8nZS3VJi6CjoELZnniGTJefKNRrteDP8BYuSUYek6I0RKV+oYQVqj9Qnr6Sx98B/nTAYPfGI1kZQUG7QOZ2aiF0XP3vbovd+E0GWUowA7W4i+tTFftpcSLl2r2n0BielrM7gLweQciCbTqXbbqF0hDcxq8Xi2olP+ss5OtnEZAysccQ==
X-EXTERNAL-ID: 1721897576
CHANNEL-ID: 12345
Content-Type: application/json
{
"originalPartnerReferenceNo": "1a8818d3-aae7-4673-b039-fe4375a18db9",
"originalReferenceNo": "023516d488fd41c486541c9ee",
"latestTransactionStatus": "00",
"transactionStatusDesc": "Success",
"amount": {
"value": "10000.00",
"currency": "IDR"
},
"additionalInfo": {
"customerData": "Firman Zain",
"customerPan": "936008180000000055",
"merchantPan": "936008180240212001",
"acquirerId": "93600818",
"acquirerName": "PT Datacell Infomedia (Paydia)",
"issuerId": "93600818",
"issuerName": "Paydia",
"referenceNumber": "240725000020",
"terminalId": "Device 1",
"amountDetail": {
"amount": {
"value": "10000.00",
"currency": "IDR"
},
"mdrAmount": {
"value": "70.00",
"currency": "IDR"
},
"receiveAmount": {
"value": "9930.00",
"currency": "IDR"
}
}
}
}
Response
The following part will be describe about parameter of response in this API:
Response Parameter
The following table is a list of response parameter in this API:
Body
The following table is a body of response parameter:
No | Name | Type | Length | Required | Condition | Remarks |
---|---|---|---|---|---|---|
1 | responseCode | String | Fixed, 7 max | Mandatory | - | Refer to response code list |
2 | responseMessage | String | Variable, 150 max | Mandatory | - | Refer to response code list |
Response Sample
The following script is a response sample of this API:
{
"responseCode": "2005200",
"responseMessage": "Successful"
}
Response Code and Message
The following table is the list response code and message of Payment Notify API:
No | Response Code | Response Message | Remarks |
---|---|---|---|
1 | 2005200 | Successful | Success to be processed |
2 | 5005202 | Backend system failure | 500 internal server error |