블로그

What Integrators Check on /api/v2 Before Connecting a Panel

2026-11-13 5 min read

When a reseller platform or panel software connects to a new supplier, it does not simply trust that the API works. Integrators run a series of checks on the /api/v2 endpoint to confirm that every action behaves the way their software expects. Knowing these checks helps suppliers prepare and helps resellers understand why connections sometimes fail.

On smmvex.com you can open the API page and read the practical API guide next.

Why compatibility matters

Panel software reads API responses automatically. If a field is missing, a number is returned in the wrong type, or an error message uses unexpected wording, the software may misread an order status or a balance. That can lead to wrong refunds, stuck orders or failed syncs. Integrators therefore test the exact structure of every response.

The test account

Integrators usually ask the supplier for a dedicated test account with an API key and a small balance. A dedicated account keeps test orders separate from real business, makes it easy to review what was tested and can be removed when testing is finished. Suppliers should give the account a normal customer role, not admin rights, so the test reflects what real resellers see.

Check 1: authentication

The first request uses an invalid key. The expected response is an error object stating that the API key is invalid. Then the test repeats with the correct key. This confirms that keys are checked on every request.

Check 2: balance

The balance action should return the balance as a string with a fixed number of decimals and the currency code. Integrators verify that both fields exist and that the balance changes correctly after a test order.

Check 3: services

The services action should return a list. Each entry needs a service ID, name, type, category, rate, minimum and maximum, and boolean flags for refill and cancel. Numeric values like rate, min and max are commonly returned as strings. Integrators check every field because their software imports these values into their own catalogs.

Check 4: placing an order

The add action is tested with a cheap service at its minimum quantity and a harmless test link. A successful response contains an order ID. Integrators also test invalid inputs, such as a quantity below the minimum or a missing link, and confirm that each returns a clear error without creating an order or charging the balance.

Check 5: status and multi-status

The status action for a single order must return the charge, start count, status, remains and currency. The multi-status version, with a comma-separated orders field, must return an object keyed by order ID. Unknown IDs should return an error entry within that object rather than breaking the whole response. This detail matters because panel software sends batches of IDs.

Check 6: refill and refill status

For services that support refill, the refill action returns a refill ID. For services that do not, it returns an error. Multi-refill requests return a list with one entry per order. The refill_status action returns the status of a refill or an error if the refill ID is unknown.

Check 7: cancel

The cancel action accepts one or more order IDs and returns a list with either a confirmation or an error for each one. Integrators check that orders on services without cancel support return a clear error instead of being silently ignored.

Check 8: unknown actions

Finally, a request with an unknown action should return a generic incorrect request error. This shows the endpoint handles unexpected input safely.

Preparing as a supplier

  • Create a dedicated test user with a small balance and an API key.
  • Make sure test orders cannot trigger real costs with external sources, or monitor them closely.
  • Verify every action yourself before sending the key.
  • Keep response field names and types consistent.
  • After testing, review the test orders and remove or disable the test account when it is no longer needed.

What resellers learn from this

If you are a reseller and your panel software fails to connect to a supplier, the cause is often one of these checks: a wrong key, a services list with missing fields or a status response in an unexpected format. Sharing the exact error text with the supplier's support makes the issue easy to diagnose.

Frequently asked questions

Why are numbers returned as strings?

Many panel integrations were built around string values for rate, min, max, balance and charge. Returning strings keeps compatibility, and client software converts them as needed.

Should the test account have admin rights?

No. It should be a normal customer account, so the tests reflect exactly what real resellers see and so the key cannot access admin functions.

What should happen to test orders?

They should be clearly tied to the test account and must not cause real costs with external sources unexpectedly. After testing, review them and remove or disable the test account when it is no longer needed.

Do integrators test error texts?

Yes. Software often matches specific errors, such as an invalid key or an incorrect request, to decide what to show users. Keeping these texts stable avoids surprises.

How long does testing usually take?

A basic run through every action can be done in minutes. Integrators often repeat status checks over a day or two to see orders move through statuses, so keep the test account active until they confirm the result.

What if a check fails?

The integrator usually reports the action, the parameters and the response they received. Reproduce the same request on the test account, fix the response format and ask them to run that check again.

Summary

Integrators verify authentication, balance, services, order creation, status, multi-status, refill, cancel and error handling on /api/v2. Each check looks at exact field names and types. A dedicated test account, consistent responses and careful handling of test orders make the process smooth for both sides.

If you do not have an account yet, sign up. Balance, orders and prices stay the same on the website and the API.

🎁

업데이트 채널

서비스와 혜택 소식을 받으려면 텔레그램 채널에 참여하세요 🎁

지금 참여