When ordering a bundle via the API, you have the option to test if the order will be successful before you commit to the purchase.
The below assumes that you have already Located And Entered Your API Key
Using the following API https://docs.esim-go.com/api/#post-/orders
- Click "EXAMPLE"
- Leave "type" as "validate"
- Enter "quantity" of bundle required - in this example "5"
- In "item" enter the name of the bundle, this example is "esim_1GB_7D_GB_U" (Names of bundles are case sensitive and can be found in the API catalogue - https://docs.esim-go.com/api/#get-/catalogue)
- Click "Try"
If the transaction would have been a success, you will see the bundle details and total cost in the "RESPONSE" section.
If the validation was unsuccessful, you will receive an error message in the response, detailing why it failed.
If you now wish to complete the order, you can go head and Create An eSIM Using The API.