Purchase Data Bundle
Purchase a mobile data bundle using a plan_id from GET /v1/data/plans. The amount is taken from your account-tier price — you do not send it.
Your wallet is debited immediately and the purchase is queued. The request long-polls for up to 15 seconds; if the provider has not answered you receive 202 with status: "pending". Track it with POST /v1/transaction/status or via your webhook.
Webhook events: data.purchase.success, data.purchase.failed (none while pending).
Authentication
API key issued from the VTUAgent dashboard, sent as Authorization: Bearer {your_api_key}.
Request
From GET /v1/data/plans.
Your unique reference for this transaction, max 50 characters. A UUID is recommended. Re-using one is rejected with 400.
Response
Echo of your request_ref.
Product-specific details; see the endpoint examples.
