curl --request POST \
--url https://api.dancity.app/api/external/v1/esim/purchase \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"packageCode": "<string>",
"wallettype": "main",
"pin": "<string>",
"customerRef": "<string>",
"promocode": "<string>",
"deviceKey": "<string>",
"saveAsBeneficiary": true,
"beneficiaryName": "<string>"
}
'