Skip to main content
Uttir

SNAP / QRIS Request Signer

Build the stringToSign and X-SIGNATURE for Indonesian payment APIs. Handles the B2B token and transactional forms.

SNAP / QRIS Request Signer — Indonesian payment providers (BRI, OneBrick, YUKK, Paydia, OVO, Doku, Nicepay, Payermax) all sign requests the same way, and all of them document it slightly differently. This tool assembles the exact string, hashes the body the way the acquirer does, and signs it.

Everything — the private key, the request body, the signature — is processed in this browser tab. Nothing is uploaded and nothing is stored.

Was SNAP / QRIS Request Signer useful?

What is SNAP / QRIS Request Signer?

Indonesian payment providers (BRI, OneBrick, YUKK, Paydia, OVO, Doku, Nicepay, Payermax) all sign requests the same way, and all of them document it slightly differently. This tool assembles the exact string, hashes the body the way the acquirer does, and signs it.

Two forms are supported. The B2B access-token request signs clientID + "|" + timestamp. A transactional request signs method + ":" + path + ":" + lowercase-hex SHA-256 of the minified body + ":" + timestamp.

How to use it

  1. Pick the request type

    Access token (clientID|timestamp) or transactional (method:path:bodyHash:timestamp).

  2. Fill in the fields

    Method, path, body and timestamp for a transaction.

  3. Paste your private key

    PKCS#8 or PKCS#1, converted automatically.

  4. Copy X-SIGNATURE

    The stringToSign and body hash are shown too, so you can check them.

Examples

Build a BI SNAP B2B Access Token stringToSign

Assemble clientID + "|" + ISO-8601 timestamp and sign via SHA256withRSA in Base64.

Type: B2B Access Token | Client ID: 9a8b7c6d | X-TIMESTAMP: 2026-01-15T10:30:00+07:00

Result: stringToSign = 9a8b7c6d|2026-01-15T10:30:00+07:00 (ready for X-SIGNATURE signing)

Assemble a BI SNAP transactional stringToSign with body SHA-256

Minify the JSON request body, compute lowercase hex SHA-256, and join method, path, hash, and timestamp.

POST /v1.0/qr/qr-mpm-generate | Body: {"partnerReferenceNo":"202601150001","amount":{"value":"50000.00","currency":"IDR"}} | X-TIMESTAMP: 2026-01-15T10:31:00+07:00

Result: POST:/v1.0/qr/qr-mpm-generate:879fc431a25c5a615725b54e4c3b7eea4a8841ed1b4ce206e60571fea152c126:2026-01-15T10:31:00+07:00

Frequently asked questions

Related guides

Related tools