Ayolinx-Openapi
🇬🇧English
  • 🇬🇧English
  • 🇨🇳中文
  1. Payment Link
Ayolinx-Openapi
🇬🇧English
  • 🇬🇧English
  • 🇨🇳中文
  • Openapi-EN-US
    • Read before development
      • Introduction
      • Header Parameter Description
      • Signature generation rules
      • Channel description
      • Necessary parameter configuration
      • 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
    • Payment Link
      • Callback introduction
      • Create payment link
        POST
  1. Payment Link

Create payment link

POST
/v1.0/payment-link/create

Request

Body Params application/json

Example
{
    "partnerReferenceNo":"932281121132128",
    "customerName":"test",
    "customerEmail":"test@surfin.sg",
    "customerPhoneNumber":"19999999999",
    "customerPhoneNumberCountryCode":"+62",
    "listItem":[
        {
            "name":"test",
            "price":"20000",
            "qty":"1"
        }
    ],
    "listPaymentChannel":["EMONEY_DANA_SNAP", "BNC_QRIS", "VIRTUAL_ACCOUNT_BNI"],
    "description":"",
    "expiryTime":"2025-08-22T18:30:00+07:00",
    "urlParams":[
        {
            "type":"NOTIFICATION",
            "url":"https://www.ayolinx.id"
        }
    ]
}

Request Code 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 'https://sandbox.ayolinx.id/v1.0/payment-link/create' \
--header 'Content-Type: application/json' \
--data-raw '{
    "partnerReferenceNo":"932281121132128",
    "customerName":"test",
    "customerEmail":"test@surfin.sg",
    "customerPhoneNumber":"19999999999",
    "customerPhoneNumberCountryCode":"+62",
    "listItem":[
        {
            "name":"test",
            "price":"20000",
            "qty":"1"
        }
    ],
    "listPaymentChannel":["EMONEY_DANA_SNAP", "BNC_QRIS", "VIRTUAL_ACCOUNT_BNI"],
    "description":"",
    "expiryTime":"2025-08-22T18:30:00+07:00",
    "urlParams":[
        {
            "type":"NOTIFICATION",
            "url":"https://www.ayolinx.id"
        }
    ]
}'

Responses

🟢200Success
application/json
Body

Example
{
    "responseCode": "2000100",
    "responseMessage": "Successful",
    "paymentLink": "https://payment-new-production.ayolinx.id/4DrzTTeCn9Z",
    "partnerReferenceNo": "4DrzTTeCn9Z",
    "expiryDate": "2025-08-22T11:30:00+07:00"
}
Modified at 2025-08-22 06:59:32
Previous
Callback introduction