The XTRA4U API for vendors
Sell your XTRA4U products from your own website, mobile app or platform. The API is open for anyone to read about, and available to approved XTRA4U vendors.
Keys look like xt_live_… (production) or xt_test_… (test). Each key has scopes and an expiry, and requests are rate limited per application.
Everything your store sells, from your own code
Your catalogue, live prices
Browse your own products and current prices, then request a price quote for a recipient number.
Orders and payments
Place an order from a quote and start its payment. Follow order and payment status, or let us tell you with signed webhooks.
Your store, your earnings
API orders are your store's orders: pricing, earnings and commissions are exactly the same as on your storefront. The API adds no fees or markups.
Only your data
Your applications can only ever see and sell your products. No other vendor's data is reachable.
Available services
- Data Bundles — Browse airtime, data, and bundle packages. currently closed
Other XTRA4U services are not part of API v1.
How to get access
-
Apply as a vendor
Apply on XTRA4U through the normal vendor application.
-
Get approved
An XTRA4U administrator reviews and approves your vendor account.
-
Sign in
Sign in with your vendor account and open the Developer Portal here. There is no separate developer login.
-
Create a key
Create an application and generate an API key. The full key is shown once, so store it safely.
Pending, rejected or suspended vendors cannot use the API. If your vendor account loses approval, your API keys are revoked and your webhooks disabled straight away.
Sandbox: build and test safely
Create a test key (xt_test_…) and the whole flow works against a simulated environment: catalog, quotes, orders, payments, status checks and webhooks. Nothing in the sandbox moves real money, delivers a real product or changes any wallet or commission. You choose whether each simulated payment and delivery succeeds or fails, so you can test every outcome before you switch to a live key. The URLs and request shapes are the same for test and live.
Webhooks
Instead of polling, register an HTTPS endpoint in the portal and receive a signed POST when an order or payment changes (order.created, order.processing, order.completed, order.failed, payment.pending, payment.succeeded, payment.failed). Every delivery carries an HMAC-SHA256 signature you verify with your endpoint's signing secret, and failed deliveries are retried automatically.
From catalogue to confirmed order
-
GET /api/v1/products— list your offers and prices. -
POST /api/v1/quotes— freeze a price for a recipient number. -
POST /api/v1/orders— create the order from the quote (send anIdempotency-Key). -
POST /api/v1/orders/{id}/payments— start payment and send the customer to the returned link. -
GET /api/v1/orders/{id}/status— poll the result, or receive signed webhooks instead.
API documentation
The full reference covers the base URL, authentication, scopes, every endpoint with request and response examples, quotes and orders, payments, the sandbox, webhooks and signature verification, error codes and rate limits.
The documentation is part of the Developer Portal and opens as soon as your vendor account is approved and you sign in.