Sign UpLog In

This APIs will help clients to initialise the status update from their side.

Request Parameters

Key ParametersData TypeDescription
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
originalReferenceNostringUnique identifier for the original transaction
originalPartnerReferenceNostringUnique identifier for the original transaction assigned by the partner or merchant.
serviceCodefloatMust be set to '51'

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.
originalReferenceNostringThe original unique identifier generated for the transaction by the system.
originalPartnerReferenceNostringThe original unique identifier provided by the partner to track the transaction.
serviceCodeintegerMust be set to '51'
latestTransactionStatusintegerThe most recent status code of the transaction based on SNAP standard:
00 - Success
01 - Initiated
02 - Paying - meaning PAID in Brick
03 - Pending
04 - Refunded
05 - Canceled
06 - Failed
07 - Not found
transactionStatusDescstringA description of the latest transaction status (e.g., EXPIRED).
amount.valuefloatThe amount of the transaction.
amount.currencystringThe currency used for the transaction (e.g., IDR).
Language
Click Try It! to start a request and see the response here!