post https://sandbox.paddieswitch.com/api/v1/bills-payment/data
Use this method to purchase Data by following the procedure below:
1. Authentication – make a call to the authentication endpoint.
2. Authorization: - authorize with the token generated from the authentication call above.
3. List Billers by Country Alpha 2 Code: make a call to this endpoint to fetch the list of all billers available for airtime/data per country using the alpha 2 code.
4. Obtain the biller’s name, biller code and identifier from number 3 above.
5. Get Data Bundles: make a call to this endpoint and supply the biller code obtained from step 3 above to get the bundle type and bundle description.
6. Buy Data: make a call to this endpoint to purchase Data.
Supply the parameters obtained from the above steps to complete the payload.