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

retail query

Developing
POST
/v1.0/retail/query

Request

Body Params application/json
originalPartnerReferenceNo
string 
required
transaction ID
additionalInfo
object 
required
channel
string 
required
RETAIL_ALFAMART
RETAIL_PEGADAIAN
RETAIL_POS_INDONESIA
RETAIL_ALFAMIDI
RETAIL_DANDAN
Example
{
    "originalPartnerReferenceNo": "string",
    "additionalInfo": {
        "channel": "string"
    }
}

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/retail/query' \
--header 'Content-Type: application/json' \
--data-raw '{
    "originalPartnerReferenceNo": "string",
    "additionalInfo": {
        "channel": "string"
    }
}'

Responses

🟢200Success
application/json
Body
responseCode
string 
required
responseMessage
string 
required
originalReferenceNo
string 
required
transaction id generated by ayolinx
originalPartnerReferenceNo
string 
required
transaction id generated by merchant
amount
object 
required
transaction amount
currency
string 
required
value
string 
required
latestTransactionStatus
string 
required
Transaction status code [value]
finishedTime
string 
required
finished time
additionalInfo
object 
required
channel
string 
required
paymentNtb
string 
required
Example
{
    "responseCode": "string",
    "responseMessage": "string",
    "originalReferenceNo": "string",
    "originalPartnerReferenceNo": "string",
    "amount": {
        "currency": "string",
        "value": "string"
    },
    "latestTransactionStatus": "string",
    "finishedTime": "string",
    "additionalInfo": {
        "channel": "string",
        "paymentNtb": "string"
    }
}
Previous
Create retail transaction
Next
Payment Notify