Payment Notification QRIS

Before hit this API, Paycloud will call Access Token API B2B Merchant first.

Access Token B2B

URL and Path
Path[merchant_endpoint]/api/v1.0/access-token/b2b
HTTP MethodPOST
Versionv1.0
Service Code73

Request Header

Field NameField TypeField Description
Content-TypeString (Required)Type of the content.
X-TIMESTAMPString (Required)Client’s current local time in ISO-8601 format.
Transaction date time, in format YYYYMMDDTHH:mm:ss+07:00.
Time must be in GMT+7 (Jakarta time).
X-SIGNATUREString (Required)Created using asymmetric signature SHA256withRSA algorithm
X-CLIENT-KEYString (Required)Client’s client_id (given at the completion registration process)
Content-type :	application/json
X-TIMESTAMP  :	2024-07-06T14:12:50+07:00
X-SIGNATURE  :	neGbHoFVY1d7EtG8Z6VBWwykvyqIkg
X-CLIENT-KEY :	PaycloudSnap

Request Body

Field NameField TypeField Description
grantTypeString (Required)client_credentials: The client can request an access token using only its client credentials.
additionalInfoObject (Optional)Additional Information
{
    "grantType": "client_credentials",
    "additionalInfo": {}
}

Response Body

Field NameField TypeField Description
accessTokenString (Conditional)A string representing an authorization issued to the client that used to access protected resources.

Will only be returned if API call is successful.
additionalInfoString (Conditional)Addtional Info.
expiresInString (Conditional)Time duration when the accessToken will expire. (default = 900 second).

Will only be returned if API call is successful.
responseCodeString (Required)Debug message to provide more information.
responseMessageString (Required)Debug message to provide more information.
tokenTypeString (Conditional)The access token type provides the client with the information required to successfully utilize the access token to make a protected resource request.

Will only be returned if API call is successful.
{
    "accessToken": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJjbGllbnRJZCI6IjIwMjQwMDM5NiIsImNsaWVudEtleSI6ImM2MmNiMDNkLWUyNGQtNDdhYi1iMmFlLWUzZWY3ZjQ4N2NlMiIsImV4cCI6MTczNjE2MzEzNCwiaWF0IjoxNzM2MTYyMjM0LCJqdGkiOiJmYmE1ODdhZC0yMDk2LTRiMzktYTE4Zi1mNWQzNTAyMGQzNGEiLCJuYmYiOjE3MzYxNjIyMzR9.WUu19pQXdk0ippqIgvwjRD2V1AQSsjmj3rfuzj9H6xQPhGcqcNA7hQ-GUUj5uFSr72u_8o-2jJwbYqpyewgIYXm-T8oi26lwymUP4TgEoNHr0RyLRjAzQ0XSmzpkNmxKE4X41J_pFX1tlYms33Qw8IXWGAJPztNBNO2ssD8yM0w",
    "additionalInfo": {},
    "expiresIn": "900",
    "responseCode": "2007300",
    "responseMessage": "Successful",
    "tokenType": "Bearer"
}

List Response Code

Response CodeHTTP StatusDescription
2007300200Successful
4007302400Invalid Signature
5007300500Internal Server Error


Payment Notification QRIS


URL and Path
Path[merchant_endpoint]/api/v1.0/qr/qr-mpm-notify
HTTP MethodPOST
Versionv1.0
Service Code52

Request Header

Field NameField TypeField Description
Content-TypeString (Required)Type of the content.
AuthorizationString (Required)Represents access_token of a request; string starts with keyword “Bearer ” followed by access_token. Can get this token from Access Token B2B response.
X-TIMESTAMPString (Required)Using ISO 8601 as timestamp format.
Transaction date time, in format YYYYMMDDTHH:mm:ss+07:00.
Time must be in GMT+7 (Jakarta time).
X-SIGNATUREString (Required)Created using symmetric signature HMAC_SHA512 algorithm.
X-PARTNER-IDString (Required)Unique ID for a partner (client_id).
X-EXTERNAL-IDString (Required)Merchant’s unique ID per transaction request.
CHANNEL-IDString (Required)PJP’s channel id.

Request Body

Field NameField TypeField Description
additionalInfoObject (Optional)Additional Information
additionalInfo.rrnString (Conditional)Unique reference number
amountObject (Required)Amount Object
currencyString (Required)Transaction currency.
valueString (Required)Transaction amount.
externalStoreIDString (Optional)Unique identifier from External Store.
latestTransactionStatusString (Required)Latest Transaction Status.
originalPartnerReferenceNoString (Required)Original transaction identifier on service consumer system.
originalReferenceNoString (Required)Original transaction identifier on service provider system..
transactionStatusDescString (Required)Description Transaction Status.
  {
    "additionalInfo": {
    	"rrn" : "513585369022"
    },
    "amount": {
      "currency": "IDR",
      "value": "12346678.00"
    },
    "externalStoreID": "",
    "latestTransactionStatus": "00",
    "originalPartnerReferenceNo": "abcdefgh0017",
    "originalReferenceNo": "T24080000027",
    "transactionStatusDesc": "Success"
  }

Response Body

Field NameField TypeField Description
responseCodeString(7) (Required)Status code of transaction charge result
responseMessageString(150) (Required)Description of transaction charge result.
{
   "responseCode":"2005200",
   "responseMessage":"Successful"
}


List Response Code

Response CodeHTTP StatusDescription
2005200200Successful
4005201400Invalid Format