Ayolinx-Openapi
🇬🇧English
  • 🇬🇧English
  • 🇨🇳中文
  1. APIS Need Merchant to Provid Copy
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
        • Payment Notify
    • 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
          POST
  1. APIS Need Merchant to Provid Copy

Payment Notify

Developing
POST
/v1.0/debit/notify

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
amount
object 
required
amount
currency
string 
required
Currency
value
string 
required
Net amount of the transaction.
originalReferenceNo
string 
required
transaction code generated by vendor
latestTransactionStatus
string 
required
Transaction status code [value]
additionalInfo
object 
required
additional info
channel
string 
required
channel
RETAIL_ALFAMART
RETAIL_PEGADAIAN
RETAIL_POS_INDONESIA
RETAIL_ALFAMIDI
RETAIL_DANDAN
originalPartnerReferenceNo
string 
required
transaction code generated by merchant
finishedTime
string 
required
transaction finished time
Example
{
    "amount": {
        "currency": "IDR",
        "value": "30.00"
    },
    "originalReferenceNo": "20250110111212800110166944801931623",
    "latestTransactionStatus": "00",
    "additionalInfo": {
        "channel":"EMONEY_DANA_SNAP"
    },
    "originalPartnerReferenceNo": "df66b319-5907-4bb0-817c-f0b940f33c36",
    "finishedTime": "2025-01-10T12:15:12+07:00"
}

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/debit/notify' \
--header 'X-SIGNATURE: 85be817c55b2c135157c7e89f52499bf0c25ad6eeebe04a986e8c862561b19a5' \
--header 'X-TIMESTAMP: 2024-09-12T12:55:00+07:00' \
--header 'Content-Type: application/json' \
--data-raw '{
    "amount": {
        "currency": "IDR",
        "value": "30.00"
    },
    "originalReferenceNo": "20250110111212800110166944801931623",
    "latestTransactionStatus": "00",
    "additionalInfo": {
        "channel":"EMONEY_DANA_SNAP"
    },
    "originalPartnerReferenceNo": "df66b319-5907-4bb0-817c-f0b940f33c36",
    "finishedTime": "2025-01-10T12:15:12+07:00"
}'

Responses

🟢200Success
application/json
Body
responseCode
string 
required
responseMessage
string 
required
Example
{
  "responseCode": "2005600",
  "responseMessage": "Successful"
}
Previous
retail query