QRIS Refund Notify
Specification
- The following table is a specification of this API:
| Name | Description |
| API Name | SNAP QR MPM Refund Notify |
| Function | This API is used to notify payment status and information from PayCools to merchant’s platform |
| Service Code | 78 |
| Method | POST |
| URL | /v2.0/qr/qr-mpm-refund-notify |
| Accept | application/json |
| Content Type | application/json |
| Related Service | |
| Expected Timeout | 8 second |
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 a header of request parameter:
| 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-SIGNATURE | String | Variable | Mandatory | - | Signature need to be generated with symmetricSignature or asymmetricSignature method |
Body
- The following table is a body of request 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 |
| 3 | originalPartnerReferenceNo | String | Variable | Mandatory | - | Unique identifier of the transaction client would like to query |
| 4 | originalReferenceNo | String | Variable | Mandatory | Y:= Successfully processed | Transaction identifier in PayCools system The value will be returned for successful payment |
| 5 | originalExternalId | String | Variable | Mandatory | - | Original External-ID on header message request |
| 6 | refundNo | String | Variable | Conditional | Y:= Successfully | Refund ID provided. Mandatory applied only if the refund transaction is successful |
| 7 | partnerRefundNo | String | Variable | Conditional | Y:= Successfully | Refund ID provided. Mandatory applied only if the refund transaction is successful |
| 8 | refundTime | String | Variable | Mandatory | Y:= Successfully | Refund Time. Example: 2020-10-20T17:56:57+07:00 |
| 9 | refundAmount | MONEY | Variable | Conditional | Y:= Successfully | Refund Amount |
| 10 | additionalInfo | QrisRefundNotifyAdditionalInfo | Variable | Mandatory | - | Unique Refund transaction identifier in client system. |
REQUEST SAMPLE
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:
- The following table is a header of response parameter:
| 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) |
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
Response Code and Message
- The following table is the list response code and message of Balance Inquiry API:
| No | Response Code | Response Message | Remarks | Partner Action | Related Service |
| 1 | 2007800 | Successful | Success to be processed | Successful | QRIS MPM (Acquirer) - SNAP |