Request
Body Params application/json
{
"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
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
application/json {
"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