booking_reference to link each purchase to your internal order ID. Requests are sent as an array of voucher items—each specifying a package_id and quantity—and the response returns activation codes you can deliver to your customers.{
"vouchers": [
{
"package_id": "replace with actual package slug",
"quantity": 3,
"booking_reference": "123"
}
]
}
curl --location --request POST '/v2/voucher/esim' \
--header 'Authorization: Bearer {{token}}' \
--header 'url: https://partners-api.airalo.com' \
--header 'Content-Type: application/json'{
"data": [
{
"package_id": "jaco-mobile-7days-1gb",
"codes": [
"BIXLAAAA",
"BSXLAAAA"
],
"booking_reference": "123"
},
{
"package_id": "liberation-mobile-30days-3gb",
"codes": [
"1HKGDUMP"
],
"booking_reference": "123"
}
],
"meta": {
"message": "success"
}
}