The Transactions API is the core endpoint for processing direct sales of mobile products (like airtime and data bundles) to a customer. Unlike the Vouchers API which generates a code for later redemption, a transaction immediately provisions the purchased product to the customer's account.
This endpoint is versatile and handles different transaction flows, determined by the type field in your request. The primary distinction is between:
- Reseller-Funded Sales: Transactions where a distributor or reseller sells a product to a customer, and the cost is deducted from the reseller's pre-funded wallet.
- Customer-Funded Purchases: Transactions where a customer purchases a product directly using a payment method like a credit card or instant EFT.