QRIS
QRIS (Quick Response Code Indonesian Standard) is a QR code standard developed by Bank Indonesia and Indonesian Payment System Association (ASPI) for cashless payments in Indonesia.
Last updated
Was this helpful?
QRIS (Quick Response Code Indonesian Standard) is a QR code standard developed by Bank Indonesia and Indonesian Payment System Association (ASPI) for cashless payments in Indonesia.
Last updated
Was this helpful?
Overview of integration process with QRIS
After customer creates an order and choose QRIS as the payment method, merchant will hit this API to generate QRIS that will be shown to the customer. To generate QRIS, you need to hit this API through your Backend:
HTTP Method
POST
API Sandbox
API Production
Path
/snap-adapter/b2b/v1.0/qr/qr-mpm-generate
Here is the sample request header, request body and response body for generate QRIS:
To query QRIS, you need to hit this API through your Backend:
HTTP Method
POST
API Sandbox
API Production
Path
/snap-adapter/b2b/v1.0/qr/qr-mpm-query
Here is the sample request header, request body and response body for query QRIS:
This endpoint is used to create refund request for previous successful payment, merchant can request a transaction refund to DOKU. To refund, you need to hit this API through your Backend:
HTTP Method
POST
API Sandbox
API Production
Path
/snap-adapter/b2b/v1.0/qr/qr-mpm-refund
Here is the sample request header, request body and response body for refund QRIS:
To decode QRIS, you need to hit this API through your Backend:
HTTP Method
POST
API Sandbox
API Production
Path
/snap-adapter/b2b/v1.0/qr/qr-mpm-decode
Here is the sample request header, request body and response body for decode QRIS:
You need to hit this API through your Backend:
HTTP Method
POST
API Sandbox
API Production
Path
/snap-adapter/b2b2c/v1.0/qr/qr-mpm-payment
Here is the sample request header, request body and response body for payment QRIS:
Client Id for merchant that generated by DOKU
82150823919040624621823174737537
Numeric String. Reference number that should be unique in the same day (Request Id)
41807553358950093184162180797837
Symmetric Signature with Get Token (Default)HMAC_SHA512 (clientSecret, stringToSign) dengan formula stringToSign = HTTPMethod +”:“+ EndpointUrl +":"+ AccessToken +":“+ Lowercase(HexEncode(SHA-256(minify(RequestBody))))+ ":“ + TimeStamp
ieNOENDdN4MnectGytx5UvmOfASZ2oGWMCJ8gVqkw3tB98ofgY9cbxSeY4IYoYeoKs+0QP4h8BTBhemlfeXp1w==
String starts with keyword “Bearer ” followed by token B2B (e.g. Bearer eyJraWQiOi...Jzc29zIiwiY)
Bearer gp9HjjEj813Y9JGoqwOeOPWbnt4CUpvIJbU1mMU4a11MNDZ7Sg5u9a
Transaction ID from partners
a98757c8dbc6434ab5dd4c55d9092d9a
Detail Amount
Detail Fee Amount
Credential mall ID from DOKU
2115
Terminal Identification alphanumeric
k45
Expired Time QRIS using ISO 8601 Format, if not sent will use Default value 30 days
2023-11-08T17:38:42+07:00
Additional Information
OK
Client Id for merchant that generated by DOKU
82150823919040624621823174737537
Client's current local time with format YYYY-MM-DDTHH:mm:ssZD
2020-12-21T14:56:11+07:00
Numeric String. Reference number that should be unique in the same day (Request Id)
41807553358950093184162180797837
Symmetric Signature with Get Token (Default)HMAC_SHA512 (clientSecret, stringToSign) dengan formula stringToSign = HTTPMethod +”:“+ EndpointUrl +":"+ AccessToken +":“+ Lowercase(HexEncode(SHA-256(minify(RequestBody))))+ ":“ + TimeStamp
ieNOENDdN4MnectGytx5UvmOfASZ2oGWMCJ8gVqkw3tB98ofgY9cbxSeY4IYoYeoKs+0QP4h8BTBhemlfeXp1w==
String starts with keyword “Bearer ” followed by token B2B (e.g. Bearer eyJraWQiOi...Jzc29zIiwiY)
Bearer gp9HjjEj813Y9JGoqwOeOPWbnt4CUpvIJbU1mMU4a11MNDZ7Sg5u9a
Credential mall ID from DOKU
2115
Transaction ID from DOKU when Generate QRIS
originalPartnerReferenceNo
Transaction ID from DOKU when Generate QRIS
7d054649f9ba4c19ae5f95950c99be4d
partnerRefundNo
refund reason
OK
Client Id for merchant that generated by DOKU
82150823919040624621823174737537
Client's current local time with format YYYY-MM-DDTHH:mm:ssZD
2020-12-21T14:56:11+07:00
Numeric String. Reference number that should be unique in the same day (Request Id)
41807553358950093184162180797837
Symmetric Signature with Get Token (Default)HMAC_SHA512 (clientSecret, stringToSign) dengan formula stringToSign = HTTPMethod +”:“+ EndpointUrl +":"+ AccessToken +":“+ Lowercase(HexEncode(SHA-256(minify(RequestBody))))+ ":“ + TimeStamp
ieNOENDdN4MnectGytx5UvmOfASZ2oGWMCJ8gVqkw3tB98ofgY9cbxSeY4IYoYeoKs+0QP4h8BTBhemlfeXp1w==
String starts with keyword “Bearer ” followed by token B2B (e.g. Bearer eyJraWQiOi...Jzc29zIiwiY)
Bearer gp9HjjEj813Y9JGoqwOeOPWbnt4CUpvIJbU1mMU4a11MNDZ7Sg5u9a
Transaction ID from partners
75a98757c8dbc6434ab5dd4c55d9092d9a
QRIS content. QRIS generated by DOKU or other PJSP. Can be dynamic or static QRIS.
00020101021226530012COM.DOKU.WWW0118936008990000002997020429970303UMI51440014ID.CO.QRIS.WWW0215ID20200622029970303UMI52045411530336054071200.255502025606500.525802ID5911Green Pages6007Jakarta61051312062430703K455032a98757c8dbc6434ab5dd4c55d9092d9a6304F6EA
The time when the QRIS scanned by the User, ISO 8601 Format
2023-11-08T17:38:42+07:00
OK
Client Id for merchant that generated by DOKU
82150823919040624621823174737537
Client's current local time with format YYYY-MM-DDTHH:mm:ssZD
2020-12-21T14:56:11+07:00
Numeric String. Reference number that should be unique in the same day (Request Id)
41807553358950093184162180797837
Symmetric Signature with Get Token (Default)HMAC_SHA512 (clientSecret, stringToSign) dengan formula stringToSign = HTTPMethod +”:“+ EndpointUrl +":"+ AccessToken +":“+ Lowercase(HexEncode(SHA-256(minify(RequestBody))))+ ":“ + TimeStamp
ieNOENDdN4MnectGytx5UvmOfASZ2oGWMCJ8gVqkw3tB98ofgY9cbxSeY4IYoYeoKs+0QP4h8BTBhemlfeXp1w==
String starts with keyword “Bearer ” followed by token B2B (e.g. Bearer eyJraWQiOi...Jzc29zIiwiY)
Bearer gp9HjjEj813Y9JGoqwOeOPWbnt4CUpvIJbU1mMU4a11MNDZ7Sg5u9a
String starts with keyword “Bearer ” followed by token B2B2C (e.g. Bearer eyJraWQiOi...Jzc29zIiwiY)
Bearer gp9HjjEj813Y9JGoqwOeOPWbnt4CUpvIJbU1mMU4a11MNDZ7Sg5u9a
91cbe52caf27471482d3430c37d174fc
OK
Client Id for merchant that generated by DOKU
82150823919040624621823174737537
Client's current local time with format YYYY-MM-DDTHH:mm:ssZD
2020-12-21T14:56:11+07:00
Numeric String. Reference number that should be unique in the same day (Request Id)
41807553358950093184162180797837
Symmetric Signature with Get Token (Default)HMAC_SHA512 (clientSecret, stringToSign) dengan formula stringToSign = HTTPMethod +”:“+ EndpointUrl +":"+ AccessToken +":“+ Lowercase(HexEncode(SHA-256(minify(RequestBody))))+ ":“ + TimeStamp
ieNOENDdN4MnectGytx5UvmOfASZ2oGWMCJ8gVqkw3tB98ofgY9cbxSeY4IYoYeoKs+0QP4h8BTBhemlfeXp1w==
String starts with keyword “Bearer ” followed by token B2B (e.g. Bearer eyJraWQiOi...Jzc29zIiwiY)
Bearer gp9HjjEj813Y9JGoqwOeOPWbnt4CUpvIJbU1mMU4a11MNDZ7Sg5u9a
Transaction ID from DOKU when Generate QRIS
7d054649f9ba4c19ae5f95950c99be4d
Transaction ID from partners when Generate QRIS
7d054649f9ba4c19ae5f95950c99be4d
Unique service API “51”
51
Merchant ID registered in DOKU
2997
OK