Skip to main content

Payment Notify v1.0.0 (Deprecated)

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/v1.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
3merchantidStringVariable, 64 maxMandatory-Merchant identifier that is unique per each merchant
4amountMoneyVariableMandatory-Contains two sub-fields:
  1. Value: Transaction amount, including the cents
  2. Currency: Currency code based on ISO
5latestTransactionStatusStringFixed, 2 maxMandatory-Category code for the status of the transaction. The values include:
  • 00 - Success, the order has been paid
  • 05 - Cancelled, the order has been closed because it is expired
6createdTimeStringFixed, 25 maxMandatory-Transaction created time, in format YYYY-MM-DDTHH:mm:ss+07:00. Time must be in GMT+7 (Jakarta time)
7finishedTimeStringFixed, 25 maxMandatory-Transaction created time, in format YYYY-MM-DDTHH:mm:ss+07:00. Time must be in GMT+7 (Jakarta time)
8additionalInfoJSON ObjectVariableOptional-Additional Information

Request Sample

The following script is a request sample of this API:

POST /v1.0/qr/qr-mpm-notify
X-TIMESTAMP: 2022-09-28T16:28:36+07:00
X-PARTNER-ID: 7c357677e7e02547ef33fafca165a574
X-SIGNATURE: I+dY/VYNhIT0+uJH+448GORGVSEG3LA43J9+U1JCxOcPxBPNxNoeXsFTN/oxnGxuEJfNC3J3aU2R3ZXHG/MT8pZM/uxSoR3TV1OUf2GdrNAeyT3zPQdNbIYTxcRmAJJUTGcr8vf132HhX+XLgi5pGyricngz11a5hlQOSprErlnGjnPvscEvhdhGku2hEo3zELEjIIxufU0jeOZlFVov6xZkrnCR03KR7R4h3erygTvQ1UhDspTDPYK/9w38d3uTCd1Siafol0HU9KcMkehu0IL2MiZDRnWtY6GPbDSHgHUkDrWt7RHV1yC0ZeGa1G4Kg/dk6hkzgk65Jlbo2vaTZg==
X-EXTERNAL-ID: 1663836108
CHANNEL-ID: 12345
Content-Type: application/json
{
"originalPartnerReferenceNo": "2020102900000000000026",
"originalReferenceNo": "220928000007",
"merchantId": "220901002000000",
"originalExternalId": "1664357352",
"externalStoreId": "12345",
"latestTransactionStatus": "00",
"transactionStatusDesc": "Success",
"createdTime": "2022-09-28T16:28:36+07:00",
"finishedTime": "2022-09-28T16:28:45+07:00",
"amount": {
"value": "10000.00",
"currency": "IDR"
},
"additionalInfo": {
"transactionDate": "2022-09-28T16:28:44+07:00",
"customerData": "John Doe",
"customerPan": "936008180000000308",
"merchantPan": "936008180220901002",
"acquirerId": "93600818",
"issuerName": "Paydia",
"rrn": "220928000004",
"mdr": {
"value": "70.00",
"currency": "IDR"
},
"layanan": {
"value": "0.00",
"currency": "IDR"
},
"nominalPaid": {
"value": "10000.00",
"currency": "IDR"
},
"totalPaid": {
"value": "10000.00",
"currency": "IDR"
},
"totalReceive": {
"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