curl --request POST \
--url https://api.dojah.io/api/v1/purchase/data/plans \
--header 'AppId: <appid>' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"plan": "<string>",
"destination": "<string>"
}
'{
"entity": {
"phone_number": "2348012345678",
"amount": 200,
"network": "MTN 200 MB DATA BUNDLE",
"reference_id": "dj_e076726b-b136-4e18-b63d-3eabc77d56c1"
}
}
An endpoint that allows you have options of internet data plans for your personal selection.
curl --request POST \
--url https://api.dojah.io/api/v1/purchase/data/plans \
--header 'AppId: <appid>' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"plan": "<string>",
"destination": "<string>"
}
'{
"entity": {
"phone_number": "2348012345678",
"amount": 200,
"network": "MTN 200 MB DATA BUNDLE",
"reference_id": "dj_e076726b-b136-4e18-b63d-3eabc77d56c1"
}
}
{
"entity": {
"phone_number": "2348012345678",
"amount": 200,
"network": "MTN 200 MB DATA BUNDLE",
"reference_id": "dj_e076726b-b136-4e18-b63d-3eabc77d56c1"
}
}
Was this page helpful?