金
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/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. |
| GET | /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. |
convert
GET
/v1/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.
scope social:read1 unit
Parameters
qrisstring required | The static QRIS payload text, as a QR code reads it, such as 00020101021126... e.g. 00020101021126180014ID.CO.QRIS.WWW5204599953033605802ID5910TOKO SAYUR6007JAKARTA630481F9 |
amountinteger required | Transaction amount in rupiah, whole number. e.g. 15000 |
feeTypestring | Service fee: none (default), fixed (rupiah) or percent.nonefixedpercentdefault none |
feeValuestring | Fee value: rupiah when feeType is fixed, percent (such as 0.7) when percent. Required unless feeType is none. |
withImagestring | Accepted for compatibility; this service does not render QR images, so true is refused.truefalsedefault false |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
amount | integer (int64) |
dynamic | string |
fee | Fee | null |
type | string |
value | string |
inputType | string |
merchant | Merchant |
location | string |
name | string |
static | string |
curl "https://api.hoshime.com/v1/qris/convert?qris=00020101021126180014ID.CO.QRIS.WWW5204599953033605802ID5910TOKO+SAYUR6007JAKARTA630481F9&amount=15000" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/qris/convert?qris=00020101021126180014ID.CO.QRIS.WWW5204599953033605802ID5910TOKO+SAYUR6007JAKARTA630481F9&amount=15000", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/qris/convert?qris=00020101021126180014ID.CO.QRIS.WWW5204599953033605802ID5910TOKO+SAYUR6007JAKARTA630481F9&amount=15000", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "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/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.
scope social:read1 unit
Parameters
qrisstring required | A QRIS payload text, static or dynamic, as a QR code reads it. e.g. 00020101021126180014ID.CO.QRIS.WWW5204599953033605802ID5910TOKO SAYUR6007JAKARTA630481F9 |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
amount | string |
category | string |
country | string |
crcValid | boolean |
currency | string |
kind | string |
merchant | Merchant |
location | string |
name | string |
curl "https://api.hoshime.com/v1/qris/decode?qris=00020101021126180014ID.CO.QRIS.WWW5204599953033605802ID5910TOKO+SAYUR6007JAKARTA630481F9" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/qris/decode?qris=00020101021126180014ID.CO.QRIS.WWW5204599953033605802ID5910TOKO+SAYUR6007JAKARTA630481F9", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/qris/decode?qris=00020101021126180014ID.CO.QRIS.WWW5204599953033605802ID5910TOKO+SAYUR6007JAKARTA630481F9", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "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 } }