v1

latestOpenAPI 3.0.32026-07-23167675.4 KB
QRIS

POST Generate QRIS

post/snap-adapter/b2b/v1.0/qr/qr-mpm-generate

Headers

X-PARTNER-IDstring required

Client Id for merchant that generated by DOKU

X-EXTERNAL-IDstring required

Numeric String. Reference number that should be unique in the same day (Request Id)

X-TIMESTAMPstring required

Client's current local time with format YYYY-MM-DDTHH:mm:ssZD

X-SIGNATUREstring required

Symmetric Signature with Get Token (Default)HMAC_SHA512 (clientSecret, stringToSign) dengan formula stringToSign = HTTPMethod +”:“+ EndpointUrl +":"+ AccessToken +":“+ Lowercase(HexEncode(SHA-256(minify(RequestBody))))+ ":“ + TimeStamp

Authorizationstring required

String starts with keyword “Bearer ” followed by token B2B (e.g. Bearer eyJraWQiOi...Jzc29zIiwiY)

CHANNEL-IDstring required

Channel ID for QRIS please fill with H2H (Host-To-Host)

Request body

partnerReferenceNostring required

Transaction ID from partners

merchantIdstring required

Credential mall ID from DOKU

terminalIdstring required

Terminal Identification alphanumeric

validityPeriodstring

Expired Time QRIS using ISO 8601 Format, if not sent will use Default value 30 days

Response

OK

responseCodestring
responseMessagestring
referenceNostring
partnerReferenceNostring
qrContentstring
terminalIdstring