APIS Ayolinx Provided To Merchant
The VA number will be registered to Ayolinx and Acquirer will inquiry to our side when the customer make payment at the acquirer channel (ATM, mobile banking, internet banking, etc.). 3 Interact ways: a. Ayolinx Generated VA: The VA number is generated by Ayolinx. Suitable for e-commerce business model. b. Merchant Generated VA: The VA number is generated by Merchant. Suitable for top up business model. c. Direct Inquiry: The VA number is registered on merchant side and Ayolinx will forward Acquirer inquiry request to merchant side when the customer make payment at the acquirer channel (ATM, mobile banking, internet banking, etc.).
Request Body Params application/json
{
"partnerServiceId" : "98829172" ,
"customerNo" : "30000000000000000001" ,
"virtualAccountNo" : "4339382374532139" ,
"virtualAccountName" : "Customer Name" ,
"trxId" : "123321123321" ,
"virtualAccountTrxType" : "C" ,
"totalAmount" : {
"value" : "11500.00" ,
"currency" : "IDR"
} ,
"additionalInfo" : {
"channel" : "VIRTUAL_ACCOUNT_BCA"
}
}
Request Code Samples
curl --location --request POST 'https://sandbox.ayolinx.id/v1.0/transfer-va/create-va' \
--header 'X-TIMESTAMP: 2024-09-12T12:55:00+07:00' \
--header 'X-SIGNATURE: 85be817c55b2c135157c7e89f52499bf0c25ad6eeebe04a986e8c862561b19a5' \
--header 'X-PARTNER-ID: CKSandbox-100dc9aa-f8ee-4a00-a933-6f4e8963b666' \
--header 'X-EXTERNAL-ID: 418075533589' \
--header 'CHANNEL-ID: H2H' \
--header 'Authorization: Bearer eyJhbGciOiJSUzI1NiJ9.eyJleHAiOjE2OTgwNTA3NDMsImlzcyI6IkRPS1UiLCJjbGllbnRJZCI6IkJSTi0wMjExLTE2OTY5MTk2NTE5MTgifQ.x-D5VlK6TlVZbLPUSCr-Gbfgh4tnp0QDJmedYFHJGHFjg1c4x39pszU4sLvRhr0Jk0vKdMIzxUZeNhKoesWqDJitnG3kfrNZNsMb_WYUC0tJW91onXzYOKXiTgsHwRNFoWPQHlXIEtT3RQm-SRlCpk_E0gsavgkQn2-kbJEBnPhIs4eKg5IUY9GYi4hRr-_GHsudDl8sd2B5UBB_ 3EPXdbqb45N4ciQ' \
--header 'Content-Type: application/json' \
--data-raw '{
"partnerServiceId": "98829172",
"customerNo": "30000000000000000001",
"virtualAccountNo": "4339382374532139",
"virtualAccountName": "Customer Name",
"trxId": "123321123321",
"virtualAccountTrxType": "C",
"totalAmount": {
"value": "11500.00",
"currency": "IDR"
},
"additionalInfo": {
"channel": "VIRTUAL_ACCOUNT_BCA"
}
}'
Responses application/json Generate Code
{
"responseCode" : "2002700" ,
"responseMessage" : "" ,
"virtualAccountData" : {
"partnerServiceId" : "98829172" ,
"customerNo" : "30000000000000000001" ,
"virtualAccountNo" : "8473617259410240" ,
"virtualAccountName" : "Customer Name" ,
"virtualAccountEmail" : "" ,
"virtualAccountPhone" : "" ,
"virtualAccountTrxType" : "C" ,
"trxId" : "23219829714" ,
"totalAmount" : {
"value" : "11500.00" ,
"currency" : "IDR"
} ,
"billDetails" : "" ,
"freeTexts" : "" ,
"feeAmount" : "" ,
"additionalInfo" : {
"channel" : "VIRTUAL_ACCOUNT_BCA"
} ,
"expiredDate" : 1726371458
}
}
Modified at 2025-06-20 09:12:31