Skip to content

QRIS API

2 endpointsFinance & CryptoIDsocial:read1 real examples

Converts a static QRIS payment payload into a dynamic one with an amount, optional fee and recalculated CRC-16.

View as Markdown
GET/qris/convertConverts a static QRIS payload into a dynamic one with a transaction amount and an optional service fee, with a fresh CRC-16 check.
GET/qris/decodeReads a QRIS payload: whether it is static or dynamic, the merchant name, city and category, the currency, country and amount, and whether its check value is valid.

convert

GET/v1/qris/convert

Converts a static QRIS payload into a dynamic one with a transaction amount and an optional service fee, with a fresh CRC-16 check.

scope social:read1 unit

Parameters

qris
string
required
The static QRIS payload text, as a QR code reads it, such as 00020101021126...
e.g. 00020101021126180014ID.CO.QRIS.WWW5204599953033605802ID5910TOKO SAYUR6007JAKARTA630481F9
amount
integer
required
Transaction amount in rupiah, whole number.
e.g. 15000
feeType
string
Service fee: none (default), fixed (rupiah) or percent.
nonefixedpercent
default none
feeValue
string
Fee value: rupiah when feeType is fixed, percent (such as 0.7) when percent. Required unless feeType is none.
withImage
string
Accepted for compatibility; this service does not render QR images, so true is refused.
truefalse
default false
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

10 fields
amountinteger (int64)
dynamicstring
feeFee | null
typestring
valuestring
inputTypestring
merchantMerchant
locationstring
namestring
staticstring
curl "https://api.hoshime.com/v1/qris/convert?qris=00020101021126180014ID.CO.QRIS.WWW5204599953033605802ID5910TOKO+SAYUR6007JAKARTA630481F9&amount=15000" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "amount": 15000,
    "dynamic": "00020101021226180014ID.CO.QRIS.WWW5204599953033605405150005802ID5910TOKO SAYUR6007JAKARTA6304E4D7",
    "fee": null,
    "inputType": "string",
    "merchant": {
      "location": "JAKARTA",
      "name": "TOKO SAYUR"
    },
    "static": "00020101021126180014ID.CO.QRIS.WWW5204599953033605802ID5910TOKO SAYUR6007JAKARTA630481F9"
  },
  "meta": {
    "cached": false,
    "endpoint": "convert",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "qris",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

decode

GET/v1/qris/decode

Reads a QRIS payload: whether it is static or dynamic, the merchant name, city and category, the currency, country and amount, and whether its check value is valid.

scope social:read1 unit

Parameters

qris
string
required
A QRIS payload text, static or dynamic, as a QR code reads it.
e.g. 00020101021126180014ID.CO.QRIS.WWW5204599953033605802ID5910TOKO SAYUR6007JAKARTA630481F9
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

9 fields
amountstring
categorystring
countrystring
crcValidboolean
currencystring
kindstring
merchantMerchant
locationstring
namestring
curl "https://api.hoshime.com/v1/qris/decode?qris=00020101021126180014ID.CO.QRIS.WWW5204599953033605802ID5910TOKO+SAYUR6007JAKARTA630481F9" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": {
    "amount": "…",
    "category": "…",
    "country": "…",
    "crcValid": false,
    "currency": "USD",
    "kind": "…",
    "merchant": {
      "location": "…",
      "name": "…"
    }
  },
  "meta": {
    "cached": false,
    "endpoint": "decode",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "qris",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}
esc
↑↓ move↵ open