There are three endpoints involved in Airtime and Data Bundles in the order of Account Number Validation, Vend and Transaction Confirmation
Airtime Validation
POST
http://epayment.com.ng/epayment/api/3pvtu_validate
Request Body
{"phone":"2348068888888"}
Vend Airtime
POST
http://epayment.com.ng/epayment/api/3pvtu_vend
Request Body
{ "product_code":"MFIN-5-OR", "phone":"2348068885166", "amount":"100", "customer_reference":"0P927347", "service":"MTN" }
Verify Completed Airtime Vending
POST
http://epayment.com.ng/epayment/api/3pvtu_verify
Request Body
{ "customer_reference":"100123" }
Data Bundle Validation
POST
http://epayment.com.ng/epayment/api/3pbundle_validate
Request Body
{"phone":"2348068885166"}
Vend Data Bundle
POST
http://epayment.com.ng/epayment/api/3pbundle_vend
Request Body
{ "product_code":"MFIN-5-OR", "phone":"2348068885166", "amount":"100", "customer_reference":"0P927347", "service":"MTN" }
Verify Completed Data Bundle Vending
POST
http://epayment.com.ng/epayment/api/3pbundle_verify
Request Body
{ "customer_reference":"100123" }