API Documentation

Learn how to integrate with the InilahMyQRIS API

Convert Static QRIS to Dynamic

Convert a static QRIS code into a dynamic QRIS with a specified transaction amount.

Endpoint

POST https://qris.miraipedia.my.id/api/convert

Request Body

{
    "amount": "10000", // Transaction amount in IDR
    "qris": "00020101021126650014ID.CO.QRIS.WWW01189360091100000000000215204082010303UMI51440014ID.CO.QRIS.WWW0215ID10200169230303UMI5204581253033605405100005802ID5913Merchant Name6013Jakarta Selatan61051234562070703.016304"
}
                        

Response (Success)

{
    "status": "success",
    "data": {
        "qris_string": "00020101021226650014ID.CO.QRIS.WWW01189360091100000000000215204082010303UMI51440014ID.CO.QRIS.WWW0215ID10200169230303UMI5204581253033605405100005802ID5913Merchant Name6013Jakarta Selatan61051234562070703.016304",
        "qr_base64": "BASE64_ENCODED_QR_CODE_HERE"
    }
}
                        

Response (Error)

{
    "status": "error",
    "message": "Missing parameters"
}
                        

How to Use

Follow these steps to integrate the InilahMyQRIS API into your application:

  1. Send a POST request to the endpoint with the required parameters.
  2. Handle the response to display the dynamic QRIS or error message.
  3. Use the qr_url to display the generated QR code in your application.
Back to Home