Ayolinx-Openapi
🇨🇳中文
  • 🇬🇧English
  • 🇨🇳中文
  1. Payment Link
Ayolinx-Openapi
🇨🇳中文
  • 🇬🇧English
  • 🇨🇳中文
  • Openapi-ZH-CN
    • 开发须知
      • 简介
      • Header参数说明
      • 渠道说明
      • 回调说明
      • 错误码说明
      • 必要参数配置
      • Signature生成规则
      • PartnerServiceId说明
    • GetAccessToken
      • Access Token B2B
    • EWallet
      • Ayolinx提供给商户的接口
        • Get Payment Url
        • Inquiry Status
      • 需要商户提供的回调地址
        • Payment Notify
    • Qris
      • Ayolinx提供给商户的接口
        • Generate Qris
        • Query Qris
        • Cancel Qris
      • 需要商户提供的非snap回调地址
        • Payment Notify
      • 商户提供的snap回调地址
        • Access Token B2B
        • Payment Notify
    • VirtualAccount
      • 时序图
      • Ayolinx提供给商户的接口
        • Error Codes
        • Create VA
        • Inquiry Va
      • 需要商户提供的接口
        • 回调说明
        • Access Token B2B
        • Payment
      • 非snap回调接口
        • Payment Notify
    • Convenience Store
      • Ayolinx提供给商户的接口
        • Create retail transaction
        • retail query
      • 需要商户提供的回调地址
        • Payment Notify
    • Payment Link
      • 回调说明
      • 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 05:54:28
Previous
回调说明