Documentation Index
Fetch the complete documentation index at: https://developer.novacpayment.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The Data Purchase API allows you to fetch available data plans for a specific network provider and complete a data purchase for a customer. To begin, retrieve the list of available plans using the Get Data Plans endpoint. Once the customer selects a preferred plan, you can complete the purchase using the Purchase Data endpoint.Each mobile network provider has a unique
serviceId. Always pass the correct one to ensure successful transactions.Get Data Plans
Use this endpointapi/v1/BillsPayment/dataplans?serviceId=string to retrieve all available data plans for a specific network provider. Donât forget to retrieve the service providers for data purchase here
Youâll need to include the providerâs serviceId in your query parameters.
Request
Response
productId, which is required for completing the purchase.
Purchase Data
After retrieving the available data plans, use this endpoint to purchase a selected plan for a customer. Youâll need to include theserviceId, productId, amount, and the customerâs phoneNumber.
If you donât provide a reference, Novac Payment will automatically generate one for you.
Novac uses a reference to track transactions, so itâs important to include it; if you donât, we will generate one.
Request
Response