Skip to main content
POST
Buy eSIM

Authorizations

Authorization
string
header
required

Send your API key as Token <your_api_key>.

Use your live key for real transactions, or your sandbox key (sk_test_…) to test — sandbox calls return a realistic simulated result and never touch your wallet. Add "sandbox_status": "fail" to any sandbox request to simulate a failure.

Body

application/json
package_id
string
required
Example:

"esim_abc"

package_type
enum<string>
required
Available options:
DATA-ONLY,
DATA-VOICE-SMS
Example:

"DATA-ONLY"

Response

The purchased eSIM.