Create retail transaction
Request
Body Params application/json
{
"partnerReferenceNo": "string",
"validUpTo": "string",
"customerName": "string",
"customerEmail": "string",
"customerPhone": "string",
"amount": {
"currency": "string",
"value": "string"
},
"urlParams": [
{
"url": "string",
"type": "string"
}
],
"additionalInfo": {
"channel": "string"
}
}
Request Code Samples
curl --location --request POST 'https://sandbox.ayolinx.id/v1.0/retail/create' \
--header 'X-TIMESTAMP: 2024-09-12T12:55:00+07:00' \
--header 'X-SIGNATURE: 12789472196489217849' \
--header 'X-PARTNER-ID: CK-11111abc-0000-2222-bbcc-dd55555ee666' \
--header 'X-EXTERNAL-ID: 418075533589' \
--header 'Authorization: Bearer eyJhbGciOiJSUzI1NiJ9.eyJleHAiOjE2OTgwNTA3NDMsImlzcyI6IkRPS1UiLCJjbGllbnRJZCI6IkJSTi0wMjExLTE2OTY5MTk2NTE5MTgifQ.x-D5VlK6TlVZbLPUSCr-Gbfgh4tnp0QDJmedYFHJGHFjg1c4x39pszU4sLvRhr0Jk0vKdMIzxUZeNhKoesWqDJitnG3kfrNZNsMb_WYUC0tJW91onXzYOKXiTgsHwRNFoWPQHlXIEtT3RQm-SRlCpk_E0gsavgkQn2-kbJEBnPhIs4eKg5IUY9GYi4hRr-_GHsudDl8sd2B5UBB_ 3EPXdbqb45N4ciQ' \
--header 'Content-Type: application/json' \
--data-raw '{
"partnerReferenceNo": "string",
"validUpTo": "string",
"customerName": "string",
"customerEmail": "string",
"customerPhone": "string",
"amount": {
"currency": "string",
"value": "string"
},
"urlParams": [
{
"url": "string",
"type": "string"
}
],
"additionalInfo": {
"channel": "string"
}
}'
Responses
application/json {
"responseCode": "00",
"responseMessage": "Successful",
"partnerReferenceNo": "ei29dh29ee233UE383hf29hr",
"expiryDate": "2024-09-12T12:55:00+07:00",
"vaNumber": "021113791978",
"paymentUrl": "https://passport.duitku.com/topup/topupdirectv2.aspx?ref=FT25ONEXEAPGG3C043O"
}
Modified at 2025-06-20 09:34:57