Purchases

Buy Data

post/api/data

Request

  • Base URL: https://api.mysubwallet.ng
  • URL: https://api.mysubwallet.ng/api/data
  • Auth: API key in header Authorization

Request body

networkinteger required

1 MTN, 2 Airtel, 3 Glo, 4 9mobile.

phonestring required
data_planinteger required

Plan ID from GET /api/data-plan.

bypassboolean
request-idstring required

Example request

{
  "network": 1,
  "phone": "2347013397088",
  "data_plan": 19,
  "request-id": "Data_12345678900"
}

Response

Result

Changes

No recorded changes to this operation across all 1 revision of this API.