Ayolinx-Openapi
🇬🇧English
  • 🇬🇧English
  • 🇨🇳中文
  1. Snap APIS Need Merchant to provide
Ayolinx-Openapi
🇬🇧English
  • 🇬🇧English
  • 🇨🇳中文
  • Openapi-EN-US
    • Read before development
      • Introduction
      • Header Parameter Description
      • Signature generation rules
      • Channel description
      • Error code description
      • Callback description
      • PartnerServiceId description
    • GetAccessToken
      • Access Token B2B
    • Qris
      • APIS Ayolinx Provided to Merchant
        • Generate Qris
        • Query Qris
        • Cancel Qris
      • Non-Snap APIS Need Merchant to Provide
        • Payment Notify
      • Snap APIS Need Merchant to provide
        • Access Token B2B
          POST
        • Payment Notify
          POST
    • EWallet
      • APIS Ayolinx Provided to Merchant
        • Get Payment Url
        • Inquiry Status
      • APIS Need Merchant to Provid
        • Payment Notify
    • VirtualAccount
      • APIS Ayolinx Provided To Merchant
        • Error Codes
        • Create VA
        • Inquiry Va
      • APIS Need Merchant To Provide
        • Callback introduction
        • Access Token B2B
        • Payment
      • Non-snap callback interface
        • Payment Notify
    • Convenient store
      • APIS Ayolinx Provided To Merchant
        • Create retail transaction
        • retail query
      • APIS Need Merchant to Provid Copy
        • Payment Notify
  1. Snap APIS Need Merchant to provide

Payment Notify

Developing
POST
/v1.0/qr/qr-mpm-notify
Payment result notification

Request

Header Params
X-SIGNATURE
string 
required
Verification signature rule
Example:
85be817c55b2c135157c7e89f52499bf0c25ad6eeebe04a986e8c862561b19a5
X-TIMESTAMP
string 
required
Client's current local time in yyyy-MM-ddTHH:mm:ssXXX format
Example:
2024-09-12T12:55:00+07:00
Body Params application/json
additionalInfo
object 
required
additional info
bankCode
string 
required
bankName
string 
required
errorCode
string 
required
feeMoney
object 
required
rRN
string 
required
ayolinx flow id
trxType
string 
required
userName
string 
required
channel
string 
required
channel BNC_QRIS
amount
object 
required
currency
string 
required
value
string 
required
customerNumber
string 
required
Customer number
latestTransactionStatus
string 
required
Transaction status code [value]
originalPartnerReferenceNo
string 
required
transaction unique code generated by merchant
originalReferenceNo
string 
required
transaction code generated by vendor
finishedTime
string 
required
finished time
Example
{
  "additionalInfo": {
    "channel": "BNC_QRIS"
  },
  "amount": {
    "currency": "IDR",
    "value": "10"
  },
  "finishedTime": "2024-09-12T12:55:00+07:00",
  "latestTransactionStatus": "00",
  "originalPartnerReferenceNo": "1404",
  "originalReferenceNo": "2025011509804724553154438"
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://sandbox.dev.ayolinx.id:9080/v1.0/qr/qr-mpm-notify' \
--header 'X-SIGNATURE: 85be817c55b2c135157c7e89f52499bf0c25ad6eeebe04a986e8c862561b19a5' \
--header 'X-TIMESTAMP: 2024-09-12T12:55:00+07:00' \
--header 'Content-Type: application/json' \
--data-raw '{
  "additionalInfo": {
    "channel": "BNC_QRIS"
  },
  "amount": {
    "currency": "IDR",
    "value": "10"
  },
  "finishedTime": "2024-09-12T12:55:00+07:00",
  "latestTransactionStatus": "00",
  "originalPartnerReferenceNo": "1404",
  "originalReferenceNo": "2025011509804724553154438"
}'

Responses

🟢200Success
application/json
Body
responseCode
string 
required
responseMessage
string 
required
Example
{
  "responseCode": "2005600",
  "responseMessage": "Successful"
}
Previous
Access Token B2B
Next
Get Payment Url