Skip to main content

Buy data

POST 

/api/v1/data

Purchase a data plan for a phone number. The plan's price is debited from your wallet atomically — if delivery fails, you are not charged.

Pass a unique clientReference per purchase: re-sending the same one returns the original transaction instead of buying again, so a timeout is always safe to retry.

Request

Responses

The purchase was accepted. status is Success, Failed, or Processing.