QRIS MPM Generate
QRIS MPM Generate
Header Parameters
- X-TIMESTAMP string required
ISO 8601 timestamp
- X-SIGNATURE string required
Signature
- X-PARTNER-ID string required
Partner ID
- X-EXTERNAL-ID string required
External ID
- CHANNEL-ID string required
Channel ID
- application/json
Request Body required
- partnerReferenceNo string
- terminalId string
amount object
value stringcurrency string- validityPeriod string
additionalInfo object
isStatic boolean
Responses
- 200
- 400
- 401
- 404
- 409
- 500
Sukses Generate QR
- application/json
- Schema
- Example (from schema)
Schema
- responseCode string
- responseMessage string
- partnerReferenceNo string
- qrContent string
Jika Merchant OnlyISO maka akan muncul qrContent
- qrUrl string
- terminalId string
additionalInfo object
contractId stringexpiredAt stringisStatic boolean
{
"responseCode": "2004700",
"responseMessage": "Success",
"partnerReferenceNo": "ref-0000000-0417",
"qrContent": "00020101021226760024ID.CO.SPEEDCASH.MERCHANT01189360081530001108500215ID10210000000190303UME51440014ID.CO.QRIS.WWW0215ID20211101828880303UME5204581453033605405500005802ID5911TOKO WINPAY6013JAKARTA BARAT61051111062360105398700509D100836320710TERM GIGIH6304D1EE",
"qrUrl": "https://sandbox-payment.winpay.id/scqr/get_image_qr?payid=33c8d1f5738e271ad20cc419ca678842",
"terminalId": "TERM KEDUA",
"additionalInfo": {
"contractId": "qree68493d-0a7e-49ba-972f-68965403a4f9",
"expiredAt": "2023-09-04T23:08:56+07:00",
"isStatic": false
}
}
Invalid mandatory field
- application/json
- Schema
- Example (from schema)
Schema
- oneOf
- GenerateQrMpmInvalidMandatoryField
- GenerateQrMpmInvalidFieldFormat
responseCode stringresponseMessage stringresponseCode stringresponseMessage string
{
"responseCode": "4004702",
"responseMessage": "Invalid mandatory field { field name }"
}
Invalid signature
- application/json
- Schema
- Example (from schema)
Schema
- responseCode string
- responseMessage InvalidSignatureMessage
{
"responseCode": "4014700",
"responseMessage": "Invalid signature {cannot verify signature}"
}
Invalid X-PARTNER-ID
- application/json
- Schema
- Example (from schema)
Schema
- responseCode string
- responseMessage InvalidPartnerIdMessage
{
"responseCode": "4044716",
"responseMessage": "Partner not found"
}
Duplicate X-EXTERNAL-ID in same day
- application/json
- Schema
- Example (from schema)
Schema
- oneOf
- GenerateQrMpmDuplicateXExternalId
- GenerateQrMpmDuplicatePartnerReferenceNo
responseCode stringresponseMessage stringresponseCode stringresponseMessage string
{
"responseCode": "4094700",
"responseMessage": "Cannot use same X-EXTERNAL-ID in same day"
}
General Error
- application/json
- Schema
- Example (from schema)
Schema
- responseCode string
- responseMessage string
{
"responseCode": "5004700",
"responseMessage": "General Error"
}
Loading...