Skip to main content

Integration Test Scenarios

We have listed the essential test cases below for the ValueTopup API integration. To ensure a smooth transition to your live environment, please complete testing these scenarios in the ValueTopup Sandbox envirornment.

Sandbox base URL: https://sandbox.valuetopup.com/api/v2

SCENARIOTRIGGEREXPECTED RESPONSECODENOTES
Successful top-up range productAny valid number000Happy path
Successful top-up fixed amount productAny valid number000Happy path
Invalid subscriberNumber ending in 501501Number not valid for operator
Account not activatedNumber ending in 500502Subscriber Account Suspended
Invalid denominationNumber 1876XXXX888 with SKU ID 4602, amount < 5001Amount outside allowed range
Timeout — 120 secondsNumber ending in 666666852 → then finalWait 120s then check status via correlation ID
Timeout — 90 secondsNumber ending in 555555852 → then finalWait 90s then check status via correlation ID
Successful Pin PurchaseAny valid Pin SKU ID000Happy path
Pin SKU Out of StockUse Pin SKU ID 1355007Pin Out of Stock
Successful Gift Card PurchaseAny valid Gift Card SKU ID and Amount000Happy path
Gift Card SKU Out of StockUse Gift Card SKU ID 3528007Gift Card Out of Stock
Successful eSIM PurchaseUse valid eSIM SKU ID000Happy path
Check current data balance of eSIMUse ICCID of eSIM000Happy path
Successful Bill PaymentAny valid Bill Pay SKU ID000Happy path
Unauthorized requestWrong / missing credentialsHTTP 401Check base64 encoding and env credentials

Once completed, please reach out to [email protected] to get production account credentials.

📄 ValueTopup Sandbox API Test Cases