Sign UpLog In

We need to build one standalone APIs for clients to consume of QRIS product. This APIs will help clients to create new dynamic QRIS for clients.

Request Parameters

Key ParametersData TypeDescription
Content-TypestringString representing the content type (application/json)
X-CLIENT-KEYstringClient's client_id
X-TIMESTAMPdatetimeClient's current local time in ISO 8601 format
AuthorizationstringOne-time access token generated for the request
X-SIGNATUREstringNon-repudiation & integrity validation checking.

Generated by client and created using asymmetric
signature SHA256withRSA (clientSecret,
stringToSign) with
stringToSign = HTTPMethod
+”:“+ EndpointUrl +":“+
Lowercase(HexEncode(SHA-
256(minify(RequestBody)))) + ":“ +
TimeStamp
X-PARTNER-IDstringBrick's client ID
X-EXTERNAL-IDstringUnique external identifier for the API request that can be found on Brick Dashboard Credentials
CHANNEL-IDstringBrick's channel ID
partnerReferenceNostringUnique reference number provided by the client to identify the transaction. Maximum length of 25 characters.
amount.valueNumberAmount to be processed, represented as a string with two decimal places (e.g., "12345678.00")
amount.currencystringCurrency of the transaction amount. Set as default to "IDR" (Indonesian Rupiah).
validityPerioddatetimeQRIS expiry should be in seconds, Maximum it can be 1 month or 31 days or 2,678,400 seconds.

If not set, the default will be 5 minutes

For optimal performance and security, we recommend setting the expiry time to 300 seconds (5 minutes).

Response Parameters

Key parametersData typeDescription
responseCodeintegerA code indicating the success or failure of the request, along with the associated reason.
responseMessagestringA message confirming the success of the operation.
referenceNostringA unique identifier generated for the transaction by the system.
partnerReferenceNostringA unique identifier provided by the partner to track the transaction.
qrContentstringThe QRIS content string that can be used to generate a QR code for payment purposes.
Language
Click Try It! to start a request and see the response here!