Skip to main content
curl --request GET 'https://api.mayar.id/hl/v2/qr-codes/static' \
 --header 'Authorization: Bearer Paste-Your-API-Key-Here'
{
    "statusCode": 200,
    "messages": "success",
    "data": {
        "url": "https://media.mayar.id/images/resized/480/a1b2c3d4-e5f6-4789-a012-3456789abcde.png"
    }
}
Endpoint:
https://api.mayar.id/hl/v2/qr-codes/static

Authorization

Authorization
string
required
Example:Authorization | Bearer Paste-Your-API-Key-Here

Response

Successful Response

Main Structure (Root)

statusCode
integer
Status code returned by the API.
messages
string
Status message that describes the status code.
data
object
The static QRIS object.

data Structure (Object)

data.url
string
Link to the merchant’s static QRIS image file.

Errors

500
object
Returned when the merchant has no static QRIS configured: { "statusCode": 500, "messages": "Invalid data" }.