Skip to main content

Payment Notify v2.0.0

Specification

The Following tabel is spesification for this API :

API NamePayment Notify
FunctionThis API is used to notify payment status and information from Paydia to merchant’s platform
Service Code52
MethodPOST
URL/snap/v2.0/qr/qr-mpm-notify
Acceptapplication/json
Content Typeapplication/json
Related ServiceQRIS 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:

The following table is Header of Request Parameters :

NoNameTypeLengthRequiredConditionRemarks
1Content-TypeStringVariable, 127 maxMandatory-Content type, value always application/json
2X-TIMESTAMPStringFixed, 25 maxMandatory-Transaction date time, in format YYYY-MM-DDTHH:mm:ss+07:00. Time must be in GMT+7 (Jakarta time)
3X-PARTNER-IDStringVariable, 36 maxMandatory-ID for partner was generated by Paydia. Unique ID for a partner
4X-EXTERNAL-IDStringVariable, 36 maxMandatory-Unique messaging reference ID generated by merchant. Numeric String. Reference number that should be unique in the same day
5CHANNEL-IDStringVariable, 5 maxMandatory-Device identification on which the API services is currently being accessed by the end user (customer)
6X-SIGNATUREStringVariableMandatory-Signature need to be validate with Asymmetric Signature method

Body

The following table is a body of request parameter:

NoNameTypeLengthRequiredConditionRemarks
1originalPartnerReferenceNoStringVariable, 64 maxMandatory-Original transaction identifier on partner system
2originalReferenceNoStringVariable, 64 maxMandatory-Original transaction identifier on Paydia system. Must be filled upon successful transaction
3latestTransactionStatusStringFixed, 2 maxMandatory-Category code for the status of the transaction. The values include:
  • 00 - Success, the order has been paid
  • 01 - Initiated, the order has been created, but has not been paid
  • 02 - Paying, the order in the process of payment
  • 05 - Cancelled, the order has been closed
4transactionStatusDescStringVariable, 50 maxOptional-Description status transaction
5amountMoneyVariableMandatory-Contains two sub-fields:
  1. Value: Transaction amount, including the cents
  2. Currency: Currency code based on ISO
6additionalInfoJSON ObjectVariableOptional-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:

NoNameTypeLengthRequiredConditionRemarks
1responseCodeStringFixed, 7 maxMandatory-Refer to response code list
2responseMessageStringVariable, 150 maxMandatory-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:

NoResponse CodeResponse MessageRemarks
12005200SuccessfulSuccess to be processed
25005202Backend system failure500 internal server error