Misc
Data Transfer
get
/v2/data/transfer
Get Data Transfer plans, organized by duration group.
v2 of GET /data/transfer. Each product's variations are nested under their duration group (ordered by sort order); ungrouped variations fall into a trailing "Others" group (id: null, slug: "ungrouped"). Vend with the variation "code" via the v1 POST /data/transfer endpoint.
v2 of GET /data/transfer. Each product's variations are nested under their duration group (ordered by sort order); ungrouped variations fall into a trailing "Others" group (id: null, slug: "ungrouped"). Vend with the variation "code" via the v1 POST /data/transfer endpoint.
Sample Response
{
"status": "ok",
"message": "data fetched",
"data": {
"category": {
"id": 5,
"name": "Data Transfer",
"type": "data_transfer",
"products": [
{
"id": 2,
"name": "MTN Transfer",
"code": "mtn",
"charges_fmt": "Free",
"groups": [
{
"id": 5,
"name": "Weekly",
"slug": "weekly",
"sort_order": 20,
"variations": [
{
"id": 612,
"name": "2GB Transfer (7 Days)",
"code": "mtn-tf-2gb",
"amount": 600
}
]
},
{
"id": null,
"name": "Others",
"slug": "ungrouped",
"sort_order": 9999,
"variations": [
{
"id": 620,
"name": "1GB Transfer",
"code": "mtn-tf-1gb",
"amount": 320
}
]
}
]
}
]
}
}
}