API playground
Build a request and copy ready-to-run code. Nothing is sent from this page.
https://api.verifyway.com/api/v1URLs and capabilities
| Purpose | Method | URL |
|---|---|---|
| Send an OTP | POST | https://api.verifyway.com/api/v1 |
| Read your wallet | GET | https://api.verifyway.com/api/v1/balance |
| Customer dashboard | Browser | verifyway.com/app/ |
Use the api.verifyway.com host for API requests. The dashboard address is separate. The reviewed API supports both forms with and without a trailing slash; examples use the form without one.
For an existing integration, POST https://api.verifyway.com/ remains a compatibility entrypoint after its account is switched. Existing accepted keys, field names, JSON and form submissions remain supported. The root URL is an internal alias, rather than a redirect that requires a client to resend its POST. Root and versioned URLs share the same account limits and idempotency scope.
The customer REST API currently has two operations. Status updates come from webhooks and the dashboard's Message logs. There is no customer REST operation to verify an OTP, poll a message by ID, quote prices, create keys, update a webhook, add wallet credit or configure automatic top-ups. Key management, webhook settings, wallet funding and automatic top-ups use the dashboard. Your own application verifies OTPs. Provider callback URLs are not customer API endpoints.
Authentication and account access
Send your API key in an HTTP header for both operations:
Authorization: Bearer YOUR_API_KEY Accept: application/json
Create and revoke keys in Dashboard → API → API keys. Keep the key on your backend. Node.js examples are server-side JavaScript; never expose the key in browser JavaScript, a public repository, a mobile app or frontend environment variables.
- The key selects your account. No
user_idrequest parameter is needed or supported for selecting a different customer. - Your account's API IP allowlist applies to sending and balance reads. Use the public outbound IP of your server or integration runner. Dashboard sign-in has separate controls.
- Missing or malformed Bearer authentication returns HTTP 401. Invalid/revoked keys and account/IP restrictions normally return HTTP 403.
- Temporary API protection can return HTTP 429. Availability or migration controls can return HTTP 503.
- Creating a new key does not remove an account-wide restriction or multiply its request allowance.
Quick start: send an OTP
Your application generates the code, sends it using VerifyWay, then verifies the user's submitted code in your own application. VerifyWay delivers the code; it does not provide an OTP verification endpoint or decide your application's verification expiry.
curl -X POST 'https://api.verifyway.com/api/v1' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Idempotency-Key: otp-request-001' \
-d '{
"recipient": "+31612345678",
"type": "otp",
"channel": "whatsapp",
"fallback": "no",
"code": "001234",
"lang": "en"
}'// Node.js: save as send-otp.mjs and run on your server.
// Keep your API key out of browser code.
const response = await fetch("https://api.verifyway.com/api/v1", {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json',
'Accept': 'application/json',
'Idempotency-Key': 'otp-request-001'
},
body: JSON.stringify({
"recipient": "+31612345678",
"type": "otp",
"channel": "whatsapp",
"fallback": "no",
"code": "001234",
"lang": "en"
})
});
const result = await response.json();
if (!response.ok) throw new Error(result.error || 'Request failed');
console.log(result.message_id);<?php
$payload = array (
'recipient' => '+31612345678',
'type' => 'otp',
'channel' => 'whatsapp',
'fallback' => 'no',
'code' => '001234',
'lang' => 'en',
);
$curl = curl_init('https://api.verifyway.com/api/v1');
curl_setopt_array($curl, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer YOUR_API_KEY',
'Content-Type: application/json',
'Accept: application/json',
'Idempotency-Key: otp-request-001',
],
CURLOPT_POSTFIELDS => json_encode($payload, JSON_THROW_ON_ERROR),
]);
$response = curl_exec($curl);
if ($response === false) {
throw new RuntimeException(curl_error($curl));
}
$status = curl_getinfo($curl, CURLINFO_RESPONSE_CODE);
curl_close($curl);
$result = json_decode($response, true, 512, JSON_THROW_ON_ERROR);
if ($status !== 200) {
throw new RuntimeException($result['error'] ?? 'Request failed');
}
echo $result['message_id'];# Python 3, standard library. Run on your server.
import json
from urllib.request import Request, urlopen
from urllib.error import HTTPError
payload = {
"recipient": "+31612345678",
"type": "otp",
"channel": "whatsapp",
"fallback": "no",
"code": "001234",
"lang": "en"
}
request = Request(
"https://api.verifyway.com/api/v1",
data=json.dumps(payload).encode("utf-8"),
headers={
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json",
"Accept": "application/json",
"Idempotency-Key": "otp-request-001",
},
method="POST",
)
try:
with urlopen(request, timeout=20) as response:
result = json.load(response)
except HTTPError as error:
raise RuntimeError(error.read().decode("utf-8")) from error
print(result["message_id"])// .NET 8+ console app. Run on your server.
using System;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Text.Json;
using var client = new HttpClient { Timeout = TimeSpan.FromSeconds(20) };
using var request = new HttpRequestMessage(HttpMethod.Post, "https://api.verifyway.com/api/v1");
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", "YOUR_API_KEY");
request.Headers.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json"));
request.Headers.Add("Idempotency-Key", "otp-request-001");
request.Content = new StringContent("""
{
"recipient": "+31612345678",
"type": "otp",
"channel": "whatsapp",
"fallback": "no",
"code": "001234",
"lang": "en"
}
""", Encoding.UTF8, "application/json");
using var response = await client.SendAsync(request);
var body = await response.Content.ReadAsStringAsync();
if (!response.IsSuccessStatusCode)
throw new Exception($"HTTP {(int)response.StatusCode}: {body}");
using var result = JsonDocument.Parse(body);
Console.WriteLine(result.RootElement.GetProperty("message_id").GetString());// Java 17+. Save as SendOtp.java. Run on your server.
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.time.Duration;
public class SendOtp {
public static void main(String[] args) throws Exception {
String payload = """
{
"recipient": "+31612345678",
"type": "otp",
"channel": "whatsapp",
"fallback": "no",
"code": "001234",
"lang": "en"
}
""";
HttpClient client = HttpClient.newBuilder()
.connectTimeout(Duration.ofSeconds(10)).build();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.verifyway.com/api/v1"))
.timeout(Duration.ofSeconds(20))
.header("Authorization", "Bearer YOUR_API_KEY")
.header("Content-Type", "application/json")
.header("Accept", "application/json")
.header("Idempotency-Key", "otp-request-001")
.POST(HttpRequest.BodyPublishers.ofString(payload)).build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
if (response.statusCode() != 200) {
throw new IllegalStateException("HTTP " + response.statusCode() + ": " + response.body());
}
// Parse response.body() with your application's JSON library.
// It contains message_id. Do not log the full response, which also contains the OTP.
System.out.println("OTP request accepted.");
}
}// Go, standard library. Run on your server.
package main
import (
"encoding/json"
"fmt"
"net/http"
"strings"
"time"
)
func main() {
payload := `{
"recipient": "+31612345678",
"type": "otp",
"channel": "whatsapp",
"fallback": "no",
"code": "001234",
"lang": "en"
}`
request, err := http.NewRequest(http.MethodPost, "https://api.verifyway.com/api/v1", strings.NewReader(payload))
if err != nil { panic(err) }
request.Header.Set("Authorization", "Bearer YOUR_API_KEY")
request.Header.Set("Content-Type", "application/json")
request.Header.Set("Accept", "application/json")
request.Header.Set("Idempotency-Key", "otp-request-001")
client := &http.Client{Timeout: 20 * time.Second}
response, err := client.Do(request)
if err != nil { panic(err) }
defer response.Body.Close()
var result struct {
MessageID string `json:"message_id"`
Error string `json:"error"`
}
if err := json.NewDecoder(response.Body).Decode(&result); err != nil { panic(err) }
if response.StatusCode != http.StatusOK {
panic(fmt.Sprintf("HTTP %d: %s", response.StatusCode, result.Error))
}
fmt.Println(result.MessageID)
}Use Content-Type: application/json for a new integration. The JSON body must be an object, not an array, and no larger than 65,536 bytes (64 KiB). Existing integrations can continue to use URL-encoded or multipart form fields. The compatibility parser also accepts a valid JSON object when an older integration omitted the content type; new clients should always set it explicitly.
Request fields
| Field | Required | Type | Meaning |
|---|---|---|---|
recipient | Yes | String recommended | International number including its country calling code, for example +31612345678. Country is detected from the number. |
type | Yes | String | Must be exactly otp. |
code | Yes | String | Nonempty ASCII digits. Keep it a string to preserve leading zeros. The single value "0" is rejected. |
channel | No | String | whatsapp or telegram. Omitted or empty selects whatsapp. |
fallback | No | String recommended | yes enables an alternate-channel attempt after an eligible failure. Omitted, no or other values leave it off. JSON boolean true is also accepted for compatibility. |
lang | No | String | Template language. Omitted or unsupported values use the configured default. A gateway can apply its own supported-template fallback. |
Code length: use 4–8 digits if Telegram or cross-channel fallback is involved; a six-digit string is a suitable integration example. The compatibility admission parser deliberately does not enforce a short maximum length. A provider or template can still reject an unsuitable code after HTTP 200; acceptance does not establish that provider's supported length. Use a string such as "001234", not the JSON number 1234.
Use a clean E.164 number with + and country calling code. For compatibility the parser also handles a missing +, spaces, parentheses, hyphens, Arabic/Persian phone-number digits and the Iraqi +96407… form. It normalizes the destination internally. Do not rely on acceptance as proof that the number has a WhatsApp or Telegram account.
Reference language defaults are en, ar, pt_BR, de, ru, az, kk, fr, with en as the initial default. These are administrator-configurable template settings, not a guarantee that every gateway has every template.
Country, price and gateway are selected by the platform. Do not send a gateway ID, country override, price, callback URL or user ID as extra OTP parameters; those do not configure routing, pricing, account selection or notifications.
Accepted response
HTTP 200 means accepted for processing, not delivered.
{
"status": "success",
"message_id": "0123456789abcdef0123456789abcdef0123",
"recipient": "+31612345678",
"code": "001234"
}| Field | Type | Meaning |
|---|---|---|
status | String | success means admission succeeded. |
message_id | String | Opaque request identifier. Store it to correlate logs and webhook events. |
recipient | String | Compatibility response representation of the recipient; it may retain phone formatting. |
code | String | The code supplied in the request. Do not log the full response. |
Keep the returned ID as an opaque string. Do not substitute a provider's WhatsApp message ID or Telegram ID for this request identifier.
Telegram
Use the same endpoint and fields with "channel": "telegram". A recipient must be eligible for Telegram's delivery service. HTTP 200 still means queued, rather than delivery confirmation.
Optional cross-channel fallback
Set "fallback": "yes" with either primary channel. The alternate channel is considered only after an eligible result, within the remaining processing window and with sufficient available credit. Fallback is not an unconditional second send.
- Both attempts share one
message_id. - Each channel attempt has its own
attempt_idand rate. - A confirmed failed charged attempt is refunded; an alternate attempt uses its own channel price.
- An uncertain provider result can enter
reconcile; do not assume a refund or resend has occurred.
Reference policy defaults are a 120-second normal processing window, a 240-second processing window with fallback, and a 120-second Telegram delivery wait. Saved administrator settings can change these. Your application's OTP validity period remains your responsibility.
Read your wallet balance
curl --request GET 'https://api.verifyway.com/api/v1/balance' \ --header 'Authorization: Bearer YOUR_API_KEY' \ --header 'Accept: application/json'
// Node.js: run on your server. Keep your API key out of browser code.
const response = await fetch("https://api.verifyway.com/api/v1/balance", {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Accept': 'application/json'
}
});
const result = await response.json();
if (!response.ok) throw new Error(result.error || 'Request failed');
console.log(result.available, result.currency); // Amounts are decimal strings.<?php
$curl = curl_init('https://api.verifyway.com/api/v1/balance');
curl_setopt_array($curl, [
CURLOPT_HTTPGET => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer YOUR_API_KEY',
'Accept: application/json',
],
]);
$response = curl_exec($curl);
if ($response === false) {
throw new RuntimeException(curl_error($curl));
}
$status = curl_getinfo($curl, CURLINFO_RESPONSE_CODE);
curl_close($curl);
$result = json_decode($response, true, 512, JSON_THROW_ON_ERROR);
if ($status !== 200) {
throw new RuntimeException($result['error'] ?? 'Request failed');
}
echo $result['available'].' '.$result['currency']; // Keep amounts as strings.# Python 3, standard library. Run on your server.
import json
from urllib.request import Request, urlopen
from urllib.error import HTTPError
request = Request(
"https://api.verifyway.com/api/v1/balance",
headers={
"Authorization": "Bearer YOUR_API_KEY",
"Accept": "application/json",
},
method="GET",
)
try:
with urlopen(request, timeout=20) as response:
result = json.load(response)
except HTTPError as error:
raise RuntimeError(error.read().decode("utf-8")) from error
print(result["available"], result["currency"]) # Decimal strings, not floats.// .NET 8+ console app. Run on your server.
using System;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text.Json;
using var client = new HttpClient { Timeout = TimeSpan.FromSeconds(20) };
using var request = new HttpRequestMessage(HttpMethod.Get, "https://api.verifyway.com/api/v1/balance");
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", "YOUR_API_KEY");
request.Headers.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json"));
using var response = await client.SendAsync(request);
var body = await response.Content.ReadAsStringAsync();
if (!response.IsSuccessStatusCode)
throw new Exception($"HTTP {(int)response.StatusCode}: {body}");
using var result = JsonDocument.Parse(body);
Console.WriteLine(result.RootElement.GetProperty("available").GetString());// Java 17+. Run on your server.
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.time.Duration;
public class ReadBalance {
public static void main(String[] args) throws Exception {
HttpClient client = HttpClient.newBuilder()
.connectTimeout(Duration.ofSeconds(10)).build();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.verifyway.com/api/v1/balance"))
.timeout(Duration.ofSeconds(20))
.header("Authorization", "Bearer YOUR_API_KEY")
.header("Accept", "application/json")
.GET().build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
if (response.statusCode() != 200) {
throw new IllegalStateException("HTTP " + response.statusCode() + ": " + response.body());
}
// Use your JSON library to read available as a decimal string.
System.out.println(response.body());
}
}// Go, standard library. Run on your server.
package main
import (
"encoding/json"
"fmt"
"net/http"
"time"
)
func main() {
request, err := http.NewRequest(http.MethodGet, "https://api.verifyway.com/api/v1/balance", nil)
if err != nil { panic(err) }
request.Header.Set("Authorization", "Bearer YOUR_API_KEY")
request.Header.Set("Accept", "application/json")
client := &http.Client{Timeout: 20 * time.Second}
response, err := client.Do(request)
if err != nil { panic(err) }
defer response.Body.Close()
var result struct {
Available string `json:"available"`
Currency string `json:"currency"`
Error string `json:"error"`
}
if err := json.NewDecoder(response.Body).Decode(&result); err != nil { panic(err) }
if response.StatusCode != http.StatusOK {
panic(fmt.Sprintf("HTTP %d: %s", response.StatusCode, result.Error))
}
fmt.Println(result.Available, result.Currency)
}No request body, user ID, currency parameter or idempotency key is required. The authenticated key selects your wallet.
Success: HTTP 200
{
"status": "success",
"user_id": "42",
"currency": "USD",
"balance": "10.125",
"reserved": "0.025",
"available": "10.1",
"frozen": false
}| Field | Type | Meaning |
|---|---|---|
status | String | success when the wallet was found. |
user_id | String | Original customer ID for an imported account, otherwise native account ID. |
currency | String | Configured wallet currency, currently USD. |
balance | Decimal string | Recorded total balance, including reserved funds. |
reserved | Decimal string | Funds held for pending OTP attempts. |
available | Decimal string | Balance minus reserved funds while credit is unexpired. Expired credit returns "0" even if the recorded balance is positive. |
frozen | Boolean | A wallet hold blocks spending, even when the numeric balance is positive. |
Amounts have up to six decimal places with unnecessary trailing zeros removed: "10", "10.125", "0.000001", "0". Use decimal arithmetic or integer micro-units; avoid binary floating-point calculations for money.
A frozen or expired wallet can still be read. The expiry timestamp is not included in this response. A balance read does not create a wallet, reserve/debit funds, fund an account or send a message. Normal API-key last-used metadata is still recorded.
Responses carry Cache-Control: no-store, private. A missing configured-currency wallet returns HTTP 404 with {"error":"Wallet not found"}. OTP request quotas are not consumed by balance reads, but account, key, IP and abuse restrictions still apply.
Idempotency and safe retries
The optional Idempotency-Key header is strongly recommended for sending. A key contains 1–128 characters from letters, digits, _, ., : and -.
- Create a unique key for each new logical OTP request and store it with that request.
- If the connection times out or the outcome is uncertain, repeat the same payload with the same key.
- A matching accepted request returns its existing
message_idwithout reserving and queueing the same request again. - Reusing a key with a different normalized request returns HTTP 409.
- Keep keys unique for your account across all of its API keys and URL aliases. There is no published short retention period after which reusing an old key is safe.
Matching retries still count towards the HTTP request allowance. Authentication and protection checks still apply. For a new code or a genuinely new request, choose a new idempotency key.
After HTTP 429 or HTTP 503, respect Retry-After when present and use exponential backoff with jitter. It is a minimum wait hint, not a promise that service will reopen then. For a timeout or HTTP 5xx, do not assume the send failed and immediately create a new request. Retry with the original idempotency key and payload.
The recipient cooldown is separate from idempotency: the initial reference policy allows one new accepted request per normalized number every 30 seconds across accounts. Its rejection is HTTP 400, not HTTP 429. The saved cooldown is administrator-configurable.
During migration maintenance, a new request can receive HTTP 503 before a send or wallet debit. Such a rejection is not queued for later; retry after reopening. Early availability responses can be plain text, so error handling must not assume every response body is JSON.
Errors and troubleshooting
Application errors normally have this shape:
{"error": "No Balance, Please topup"}| HTTP | Example error / condition | What to do |
|---|---|---|
| 400 | Invalid JSON data; JSON object required | Send a valid JSON object, or a supported existing form submission. |
| 400 | Invalid phone number | Use an international destination with its country calling code. |
| 400 | Missing or invalid code; Missing or invalid type; Invalid type or OTP code | Supply type: "otp" and a nonempty digit-string code. |
| 400 | Invalid channel: use whatsapp or telegram | Use exactly one of those lowercase values. |
| 400 | Invalid Idempotency-Key | Use 1–128 permitted header characters. |
| 400 | No Balance, Please topup | Add credit, then make or retry the appropriate request. |
| 400 | Only 1 OTP allowed in 30 seconds | Wait for the configured recipient cooldown; do not rapidly retry. The number in the error reflects saved policy. |
| 400 | No matching/available price | Contact support or use a supported destination; price availability is separate from phone validity. |
| 401 | Unauthorized access | Supply Authorization: Bearer YOUR_API_KEY. |
| 403 | Invalid API key; account restriction; disallowed IP | Check the active key, account access and outbound IP allowlist. |
| 404 | Wallet not found on balance | Contact support to review the account's configured wallet. |
| 405 | Unsupported request method | Use POST for OTP and GET for balance. |
| 409 | Idempotency-Key already used for a different request | Restore the original data or use a new key for a genuinely new request. |
| 409 | Wallet requires review; Wallet credit has expired | Contact support; repeatedly resending will not resolve a wallet restriction. |
| 413 | Request too large | Keep the OTP request body within 64 KiB. |
| 429 | API access temporarily restricted. | Respect Retry-After, back off and review request patterns. |
| 503 / other 5xx | Maintenance, unavailable service or uncertain outcome | Handle JSON or plain text; retry with backoff and the same idempotency key and data. |
Read the HTTP status and error body together. Availability responses may instead use {"status":"maintenance","message":"OTP sending is temporarily unavailable."}, a JSON message field, or plain text. A successful HTTP response alone does not confirm message delivery. Do not expose API keys or OTP values in logs, support tickets, browser consoles or screenshots.
Request limits and protection
The following are reference defaults from the new platform, not a live account configuration snapshot. Administrators can change thresholds and enforcement modes. All account rules are shared across that account's API keys and endpoint aliases.
| Rule | Reference threshold | Scope | Default consequence when enforced |
|---|---|---|---|
| OTP requests | 100 in a rolling 60 seconds | Account | HTTP 429 until allowance recovers |
| OTP requests | 1,000 in a rolling 3,600 seconds | Account | HTTP 429 until allowance recovers |
| Different accepted destination countries | More than 15 in 10 minutes | Account | 30-minute restriction |
| Failed attempts | At least 150 and at least 40% of sends in 10 minutes | Account | 30-minute restriction; expired attempts count by default |
| Invalid phone numbers | At least 100 in 10 minutes | Account | 30-minute restriction |
| HTTP 429 responses | At least 300 in 5 minutes | Source IP | 30-minute IP restriction |
Minute/hour request limits use rolling windows. A restriction does not imply every request was sent, charged or failed at the provider. Switching to another API key or URL alias does not create a new allowance. A normal minute/hour-only send hold does not consume or block the balance-read allowance, although abuse, key and IP holds can block balance access too.
Honor the returned Retry-After value. Do not rely on a restriction email: notification delivery is a separate administrator setting.
Delivery webhooks
Use Dashboard → API → Webhooks to configure one public HTTPS URL for WhatsApp and Telegram status updates. This is dashboard configuration, not a Bearer-key REST endpoint. Adding a callback_url field to an OTP send does not set a webhook.
The platform sends a JSON POST to your endpoint when it records a supported status transition. It does not forward every raw provider payload. Your handler should persist or enqueue the event quickly, then acknowledge it.
Status event body
{
"event_id": "0123456789abcdef0123456789abcdef",
"event_type": "otp.status",
"message_id": "0123456789abcdef0123456789abcdef0123",
"attempt_id": "abcdef0123456789abcdef0123456789",
"channel": "telegram",
"status": "read",
"occurred_at": "2026-11-26T10:00:00Z",
"message_status": "read"
}| Field | Type | Meaning |
|---|---|---|
event_id | String | Stable event identifier; use it to deduplicate retries. |
event_type | String | otp.status for normal status notifications. |
message_id | String | Identifier returned by your OTP request. |
attempt_id | String or null | Identifier of this channel attempt; null for the initial accepted event. |
channel | String | whatsapp or telegram. |
status | String | Event status in the table below. |
occurred_at | String | UTC event time in ISO 8601 form. |
message_status | String | Overall request state at the time the event was recorded. |
No OTP code, API key, recipient phone number, cost or raw provider payload is included. Associate the message_id with your own business record when you send the OTP.
Event status | Meaning |
|---|---|
accepted | Request accepted and queued, not delivered. attempt_id is null; overall message_status can be queued. |
sent | Provider accepted the channel attempt for sending. |
delivered | Provider reported delivery, where supported. |
read | Provider reported the message was read, where supported. |
failed | This attempt failed. A fallback attempt may still follow. |
expired | This attempt expired. Check the overall message state. |
fallback_pending | An alternate-channel attempt was queued with its own attempt identifier. |
reconcile | Outcome requires verification; it is not a confirmed delivery or failure/refund. |
queued is an overall processing state, not a separate event status. Do not expect every message to emit every listed status or every provider to supply delivered and read.
Events may arrive more than once or out of order. The same event retains its ID and body across retries. Track each attempt separately, deduplicate by event_id and do not move a completed attempt backward because an older event arrived later. A primary-channel failure can be followed by a successful alternate-channel attempt under the same message_id.
Existing older queued events can retain their version-1 body containing only message_id and status; new events use the richer body above. There is no version field in the current event body. Be tolerant of additive fields.
Authenticating status notifications
Signature verification is optional at your receiver and recommended for production. VerifyWay automatically includes these headers on every real status notification:
| Header | Meaning |
|---|---|
Content-Type | application/json |
X-VerifyWay-Event-Id | The notification's stable event ID. Use it to deduplicate retries. |
X-VerifyWay-Timestamp | Unix seconds for this delivery attempt. |
X-VerifyWay-Signature | sha256= followed by the 64-character lowercase hexadecimal HMAC-SHA256. |
The signing input is the exact bytes of timestamp + "." + event_id + "." + raw_request_body. Its HMAC key is the full original signing-secret text, including vw_whsec_ if present. This secret is separate from your API key. Do not hex-decode it or re-encode the JSON before verifying.
If you verify signatures, compare them in constant time. The examples below allow a timestamp difference of up to five minutes in either direction; keep your server clock synchronized. Check the delivery timestamp header, not occurred_at: a retry can carry an older event time but a fresh delivery timestamp and signature.
Retries retain the same event ID and exact JSON body. Each attempt receives a fresh timestamp and signature. Delivery can be duplicated or arrive out of order.
Test your endpoint before saving
Configure one HTTPS endpoint for both WhatsApp and Telegram in API → Webhooks. This is a dashboard setting; there is no public API-key-authenticated webhook configuration endpoint.
When you add or change a nonempty URL, or save with notifications enabled, VerifyWay sends a connectivity probe before saving:
{
"event_type": "webhook.test",
"test": true,
"test_id": "cccccccccccccccccccccccccccccccc",
"occurred_at": "2026-11-26T10:00:00Z"
}Probe headers are:
Content-Type: application/json X-VerifyWay-Webhook-Test: true X-VerifyWay-Event-Id: cccccccccccccccccccccccccccccccc X-VerifyWay-Timestamp: 1795687200
The ID and times are illustrative. A probe contains no OTP, recipient phone number, API key, customer ID, message ID or message status. The first probe can be unsigned: your signing secret is generated only after the first successful save. Later probes use your existing secret and include X-VerifyWay-Signature using the same signing formula.
Return exactly HTTP 200; no response body is required. A 204, redirect, timeout or other status fails the probe and leaves your previous settings unchanged. Pausing notifications, clearing the URL or rotating the secret does not require the endpoint to be online. Saving a changed nonempty URL while notifications remain off still tests that URL.
The probe checks connectivity. It does not send an OTP or replay a previous message event.
Receiver flow
- Read bounded raw request bytes and headers. Retain the exact bytes even if you decode JSON for routing.
- If
event_typeiswebhook.test,testistrue, theX-VerifyWay-Webhook-Testheader istrue, and a well-formed 32-character lowercase hexadecimaltest_idmatchesX-VerifyWay-Event-Id, return HTTP 200 and perform no business updates. This initial probe can legitimately lack a signature. - For a real
otp.statusevent, apply signature verification if you choose to use it, then validate your expected event fields. - Atomically store a unique authenticated event ID with your status update. Return 200 after committing. An already committed duplicate should also receive a success response without reapplying the update.
For real status notifications, any HTTP 200–299 response is accepted, including 204. Only the save-time probe requires exactly 200. Do not treat a duplicated or delayed callback as a request to resend an OTP.
The following examples are pure signature helpers, not complete web servers or business-processing implementations. They authenticate real status events and return the event. Add the separate harmless probe branch above before requiring message_id or status: a webhook.test body deliberately has neither field. For Node.js, retain the untouched raw request Buffer before your framework's JSON parser.
<?php
// Use on your server. Load the dedicated signing secret from private configuration.
// $verified = verify_verifyway_webhook($rawBody, getallheaders(), $signingSecret);
function verify_verifyway_webhook(string $raw, array $headers, string $secret, ?int $now = null): array
{
$headers = array_change_key_case($headers, CASE_LOWER);
$id = $headers['x-verifyway-event-id'] ?? '';
$timestamp = $headers['x-verifyway-timestamp'] ?? '';
$signature = $headers['x-verifyway-signature'] ?? '';
if (strlen($secret) < 32 || strlen($raw) > 65536 ||
!is_string($id) || !preg_match('/^[a-f0-9]{32}$/D', $id) ||
!is_string($timestamp) || !preg_match('/^[0-9]{10}$/D', $timestamp) ||
!is_string($signature) || !preg_match('/^sha256=[a-f0-9]{64}$/D', $signature) ||
abs(($now ?? time()) - (int) $timestamp) > 300) {
throw new RuntimeException('Invalid webhook authentication.');
}
$expected = 'sha256='.hash_hmac('sha256', $timestamp.'.'.$id.'.'.$raw, $secret);
if (!hash_equals($expected, $signature)) {
throw new RuntimeException('Invalid webhook authentication.');
}
$event = json_decode($raw, true, 16, JSON_THROW_ON_ERROR);
if (!is_array($event) || array_is_list($event) ||
!is_string($event['message_id'] ?? null) || $event['message_id'] === '' ||
!is_string($event['status'] ?? null) || $event['status'] === '' ||
(array_key_exists('event_id', $event) && $event['event_id'] !== $id)) {
throw new RuntimeException('Invalid webhook payload.');
}
// Authentication only: commit your unique event ID + status update atomically.
// An already committed ID is a successful duplicate; return 2xx without reapplying it.
return ['event_id' => $id, 'event' => $event];
}// Server-side Node.js. Pass the untouched request Buffer, not parsed/re-encoded JSON.
import { createHmac, timingSafeEqual } from 'node:crypto';
export function verifyVerifyWayWebhook(rawBody, headers, secret, now = Math.floor(Date.now() / 1000)) {
const values = Object.fromEntries(Object.entries(headers).map(([key, value]) => [key.toLowerCase(), value]));
const id = values['x-verifyway-event-id'];
const timestamp = values['x-verifyway-timestamp'];
const signature = values['x-verifyway-signature'];
if (!Buffer.isBuffer(rawBody) || rawBody.length > 65536 ||
typeof secret !== 'string' || Buffer.byteLength(secret) < 32 ||
typeof id !== 'string' || id.length !== 32 || !/^[a-f0-9]{32}$/.test(id) ||
typeof timestamp !== 'string' || timestamp.length !== 10 || !/^[0-9]{10}$/.test(timestamp) ||
typeof signature !== 'string' || signature.length !== 71 || !/^sha256=[a-f0-9]{64}$/.test(signature) ||
!Number.isInteger(now) || Math.abs(now - Number(timestamp)) > 300) {
throw new Error('Invalid webhook authentication.');
}
const expected = createHmac('sha256', secret)
.update(`${timestamp}.${id}.`).update(rawBody).digest();
if (!timingSafeEqual(expected, Buffer.from(signature.slice(7), 'hex'))) {
throw new Error('Invalid webhook authentication.');
}
const event = JSON.parse(rawBody.toString('utf8'));
if (!event || typeof event !== 'object' || Array.isArray(event) ||
typeof event.message_id !== 'string' || event.message_id.length === 0 ||
typeof event.status !== 'string' || event.status.length === 0 ||
(Object.hasOwn(event, 'event_id') && event.event_id !== id)) {
throw new Error('Invalid webhook payload.');
}
// Authentication only: commit your unique event ID + status update atomically.
// An already committed ID is a successful duplicate; acknowledge without reapplying.
return { event_id: id, event };
}# Use on your server. Supply the untouched request bytes and a private signing secret.
import hashlib
import hmac
import json
import re
import time
def verify_verifyway_webhook(raw_body, headers, secret, now=None):
values = {key.lower(): value for key, value in headers.items()}
event_id = values.get("x-verifyway-event-id", "")
timestamp = values.get("x-verifyway-timestamp", "")
signature = values.get("x-verifyway-signature", "")
current = int(time.time()) if now is None else now
if (not isinstance(raw_body, bytes) or len(raw_body) > 65536
or not isinstance(secret, str) or len(secret.encode("utf-8")) < 32
or not isinstance(event_id, str) or re.fullmatch(r"[a-f0-9]{32}", event_id) is None
or not isinstance(timestamp, str) or re.fullmatch(r"[0-9]{10}", timestamp) is None
or not isinstance(signature, str) or re.fullmatch(r"sha256=[a-f0-9]{64}", signature) is None
or not isinstance(current, int) or abs(current - int(timestamp)) > 300):
raise ValueError("Invalid webhook authentication.")
signed = f"{timestamp}.{event_id}.".encode("ascii") + raw_body
expected = "sha256=" + hmac.new(secret.encode("utf-8"), signed, hashlib.sha256).hexdigest()
if not hmac.compare_digest(expected, signature):
raise ValueError("Invalid webhook authentication.")
event = json.loads(raw_body)
if (not isinstance(event, dict)
or not isinstance(event.get("message_id"), str) or not event["message_id"]
or not isinstance(event.get("status"), str) or not event["status"]
or ("event_id" in event and event["event_id"] != event_id)):
raise ValueError("Invalid webhook payload.")
# Authentication only: commit your unique event ID + status update atomically.
# An already committed ID is a successful duplicate; acknowledge without reapplying.
return {"event_id": event_id, "event": event}Acknowledgements, retries and timeouts
Real status deliveries accept any HTTP 2xx; response bodies are ignored. Any non-2xx response, timeout or transport failure is retried, up to eight total attempts. The delays before attempts 2–8 are approximately 15, 30, 60, 120, 240, 480 and 960 seconds, plus queue and processing delay. Delivery timing and order are not guaranteed. Return promptly after your transaction commits.
The HTTP sender uses a two-second connection timeout and five-second total cURL timeout. DNS validation happens before cURL, so these are not a strict five-second end-to-end bound including all DNS resolution. Redirects are not followed. Responses are limited to 8,192 body bytes and 16,384 header bytes; a small or empty acknowledgement is sufficient.
Destination and settings rules
Use HTTPS with a public DNS hostname and standard port 443; an explicit :443 is allowed. The URL must be at most 2,048 characters. IP-literal hosts, private/loopback/reserved addresses, URL-authority credentials, fragments, backslashes and whitespace/control characters are rejected. DNS is checked for each test and delivery; all returned addresses must be public. TLS certificate and hostname validation are enabled.
Turning notifications off, clearing or changing the URL, or rotating the signing secret cancels pending retries. Completed delivery history is retained. A request already in flight can still finish. Changing the URL keeps your existing secret unless you explicitly replace it; a new or replacement secret is displayed only once. Store it privately on your server.
Notifications apply to new events after you enable and save the setting. Saving settings does not replay historical events or old logs. If you use an outbound-IP allowlist on your receiver, obtain confirmed VerifyWay outbound addresses first; this reference does not promise a fixed IP list. The dashboard API IP allowlist controls clients calling VerifyWay and is separate from your receiver's firewall.
The current customer webhook settings do not provide custom Authorization/static-token headers. Signature headers are included automatically; use the dedicated signing secret if you want authenticated payloads. Keep API keys and shared tokens out of callback URLs.
Server-side programming examples
These examples use placeholders and the canonical new-platform URL. Choose a code you generate, a recipient you are authorized to contact and a unique idempotency key for each new request. Replace placeholders on your backend before running. No example is executed by this document.
For a network timeout or ambiguous result, use the same idempotency key and payload on retry. Avoid logging entire OTP responses because they contain the code.
Send an OTP
curl -X POST 'https://api.verifyway.com/api/v1' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Idempotency-Key: otp-request-001' \
-d '{
"recipient": "+31612345678",
"type": "otp",
"channel": "whatsapp",
"fallback": "no",
"code": "001234",
"lang": "en"
}'// Node.js: save as send-otp.mjs and run on your server.
// Keep your API key out of browser code.
const response = await fetch("https://api.verifyway.com/api/v1", {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json',
'Accept': 'application/json',
'Idempotency-Key': 'otp-request-001'
},
body: JSON.stringify({
"recipient": "+31612345678",
"type": "otp",
"channel": "whatsapp",
"fallback": "no",
"code": "001234",
"lang": "en"
})
});
const result = await response.json();
if (!response.ok) throw new Error(result.error || 'Request failed');
console.log(result.message_id);<?php
$payload = array (
'recipient' => '+31612345678',
'type' => 'otp',
'channel' => 'whatsapp',
'fallback' => 'no',
'code' => '001234',
'lang' => 'en',
);
$curl = curl_init('https://api.verifyway.com/api/v1');
curl_setopt_array($curl, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer YOUR_API_KEY',
'Content-Type: application/json',
'Accept: application/json',
'Idempotency-Key: otp-request-001',
],
CURLOPT_POSTFIELDS => json_encode($payload, JSON_THROW_ON_ERROR),
]);
$response = curl_exec($curl);
if ($response === false) {
throw new RuntimeException(curl_error($curl));
}
$status = curl_getinfo($curl, CURLINFO_RESPONSE_CODE);
curl_close($curl);
$result = json_decode($response, true, 512, JSON_THROW_ON_ERROR);
if ($status !== 200) {
throw new RuntimeException($result['error'] ?? 'Request failed');
}
echo $result['message_id'];# Python 3, standard library. Run on your server.
import json
from urllib.request import Request, urlopen
from urllib.error import HTTPError
payload = {
"recipient": "+31612345678",
"type": "otp",
"channel": "whatsapp",
"fallback": "no",
"code": "001234",
"lang": "en"
}
request = Request(
"https://api.verifyway.com/api/v1",
data=json.dumps(payload).encode("utf-8"),
headers={
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json",
"Accept": "application/json",
"Idempotency-Key": "otp-request-001",
},
method="POST",
)
try:
with urlopen(request, timeout=20) as response:
result = json.load(response)
except HTTPError as error:
raise RuntimeError(error.read().decode("utf-8")) from error
print(result["message_id"])// .NET 8+ console app. Run on your server.
using System;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Text.Json;
using var client = new HttpClient { Timeout = TimeSpan.FromSeconds(20) };
using var request = new HttpRequestMessage(HttpMethod.Post, "https://api.verifyway.com/api/v1");
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", "YOUR_API_KEY");
request.Headers.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json"));
request.Headers.Add("Idempotency-Key", "otp-request-001");
request.Content = new StringContent("""
{
"recipient": "+31612345678",
"type": "otp",
"channel": "whatsapp",
"fallback": "no",
"code": "001234",
"lang": "en"
}
""", Encoding.UTF8, "application/json");
using var response = await client.SendAsync(request);
var body = await response.Content.ReadAsStringAsync();
if (!response.IsSuccessStatusCode)
throw new Exception($"HTTP {(int)response.StatusCode}: {body}");
using var result = JsonDocument.Parse(body);
Console.WriteLine(result.RootElement.GetProperty("message_id").GetString());// Java 17+. Save as SendOtp.java. Run on your server.
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.time.Duration;
public class SendOtp {
public static void main(String[] args) throws Exception {
String payload = """
{
"recipient": "+31612345678",
"type": "otp",
"channel": "whatsapp",
"fallback": "no",
"code": "001234",
"lang": "en"
}
""";
HttpClient client = HttpClient.newBuilder()
.connectTimeout(Duration.ofSeconds(10)).build();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.verifyway.com/api/v1"))
.timeout(Duration.ofSeconds(20))
.header("Authorization", "Bearer YOUR_API_KEY")
.header("Content-Type", "application/json")
.header("Accept", "application/json")
.header("Idempotency-Key", "otp-request-001")
.POST(HttpRequest.BodyPublishers.ofString(payload)).build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
if (response.statusCode() != 200) {
throw new IllegalStateException("HTTP " + response.statusCode() + ": " + response.body());
}
// Parse response.body() with your application's JSON library.
// It contains message_id. Do not log the full response, which also contains the OTP.
System.out.println("OTP request accepted.");
}
}// Go, standard library. Run on your server.
package main
import (
"encoding/json"
"fmt"
"net/http"
"strings"
"time"
)
func main() {
payload := `{
"recipient": "+31612345678",
"type": "otp",
"channel": "whatsapp",
"fallback": "no",
"code": "001234",
"lang": "en"
}`
request, err := http.NewRequest(http.MethodPost, "https://api.verifyway.com/api/v1", strings.NewReader(payload))
if err != nil { panic(err) }
request.Header.Set("Authorization", "Bearer YOUR_API_KEY")
request.Header.Set("Content-Type", "application/json")
request.Header.Set("Accept", "application/json")
request.Header.Set("Idempotency-Key", "otp-request-001")
client := &http.Client{Timeout: 20 * time.Second}
response, err := client.Do(request)
if err != nil { panic(err) }
defer response.Body.Close()
var result struct {
MessageID string `json:"message_id"`
Error string `json:"error"`
}
if err := json.NewDecoder(response.Body).Decode(&result); err != nil { panic(err) }
if response.StatusCode != http.StatusOK {
panic(fmt.Sprintf("HTTP %d: %s", response.StatusCode, result.Error))
}
fmt.Println(result.MessageID)
}Read the wallet
curl --request GET 'https://api.verifyway.com/api/v1/balance' \ --header 'Authorization: Bearer YOUR_API_KEY' \ --header 'Accept: application/json'
// Node.js: run on your server. Keep your API key out of browser code.
const response = await fetch("https://api.verifyway.com/api/v1/balance", {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Accept': 'application/json'
}
});
const result = await response.json();
if (!response.ok) throw new Error(result.error || 'Request failed');
console.log(result.available, result.currency); // Amounts are decimal strings.<?php
$curl = curl_init('https://api.verifyway.com/api/v1/balance');
curl_setopt_array($curl, [
CURLOPT_HTTPGET => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 20,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer YOUR_API_KEY',
'Accept: application/json',
],
]);
$response = curl_exec($curl);
if ($response === false) {
throw new RuntimeException(curl_error($curl));
}
$status = curl_getinfo($curl, CURLINFO_RESPONSE_CODE);
curl_close($curl);
$result = json_decode($response, true, 512, JSON_THROW_ON_ERROR);
if ($status !== 200) {
throw new RuntimeException($result['error'] ?? 'Request failed');
}
echo $result['available'].' '.$result['currency']; // Keep amounts as strings.# Python 3, standard library. Run on your server.
import json
from urllib.request import Request, urlopen
from urllib.error import HTTPError
request = Request(
"https://api.verifyway.com/api/v1/balance",
headers={
"Authorization": "Bearer YOUR_API_KEY",
"Accept": "application/json",
},
method="GET",
)
try:
with urlopen(request, timeout=20) as response:
result = json.load(response)
except HTTPError as error:
raise RuntimeError(error.read().decode("utf-8")) from error
print(result["available"], result["currency"]) # Decimal strings, not floats.// .NET 8+ console app. Run on your server.
using System;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text.Json;
using var client = new HttpClient { Timeout = TimeSpan.FromSeconds(20) };
using var request = new HttpRequestMessage(HttpMethod.Get, "https://api.verifyway.com/api/v1/balance");
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", "YOUR_API_KEY");
request.Headers.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json"));
using var response = await client.SendAsync(request);
var body = await response.Content.ReadAsStringAsync();
if (!response.IsSuccessStatusCode)
throw new Exception($"HTTP {(int)response.StatusCode}: {body}");
using var result = JsonDocument.Parse(body);
Console.WriteLine(result.RootElement.GetProperty("available").GetString());// Java 17+. Run on your server.
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.time.Duration;
public class ReadBalance {
public static void main(String[] args) throws Exception {
HttpClient client = HttpClient.newBuilder()
.connectTimeout(Duration.ofSeconds(10)).build();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.verifyway.com/api/v1/balance"))
.timeout(Duration.ofSeconds(20))
.header("Authorization", "Bearer YOUR_API_KEY")
.header("Accept", "application/json")
.GET().build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
if (response.statusCode() != 200) {
throw new IllegalStateException("HTTP " + response.statusCode() + ": " + response.body());
}
// Use your JSON library to read available as a decimal string.
System.out.println(response.body());
}
}// Go, standard library. Run on your server.
package main
import (
"encoding/json"
"fmt"
"net/http"
"time"
)
func main() {
request, err := http.NewRequest(http.MethodGet, "https://api.verifyway.com/api/v1/balance", nil)
if err != nil { panic(err) }
request.Header.Set("Authorization", "Bearer YOUR_API_KEY")
request.Header.Set("Accept", "application/json")
client := &http.Client{Timeout: 20 * time.Second}
response, err := client.Do(request)
if err != nil { panic(err) }
defer response.Body.Close()
var result struct {
Available string `json:"available"`
Currency string `json:"currency"`
Error string `json:"error"`
}
if err := json.NewDecoder(response.Body).Decode(&result); err != nil { panic(err) }
if response.StatusCode != http.StatusOK {
panic(fmt.Sprintf("HTTP %d: %s", response.StatusCode, result.Error))
}
fmt.Println(result.Available, result.Currency)
}Postman setup
The accompanying files are:
VerifyWay.postman_collection.json— balance, WhatsApp, Telegram, fallback and existing-request-format examples, with illustrative saved responses.VerifyWay.postman_environment.json— placeholder-only environment variables.openapi.json— OpenAPI 3.0.3 for the two public operations and their schemas. The webhook payload is described as a schema, not as an invented public management endpoint.
Import the collection and environment into Postman. Select the environment and fill api_key locally; keep exported/shared files free of real keys. Set recipient to a number you are authorized to contact. Keep otp_code as a string. The canonical base_url is https://api.verifyway.com.
Start with Read wallet balance, which sends no OTP and changes no balance. The send examples are real send requests once populated and submitted; they are not a free or automatic simulation. Run a single selected request when ready rather than running the entire collection.
Each send example has a stable suffix on idempotency_key so different example requests do not conflict. For a retry of the same example and payload, leave the key unchanged. For a new logical send, change the idempotency_key variable before submitting. Do not blindly generate a fresh key for every retry.
Webhook verification is inbound to your own receiver and is not automatically exercised by this collection. Use the test in Dashboard → API → Webhooks to verify connectivity before saving.
Integration checklist
- Keep the Bearer key on your backend and allow the backend's outbound IP where an allowlist is enabled.
- Read the wallet with GET and preserve money values as decimal strings.
- Generate and verify OTPs in your own application; keep codes as strings.
- Send to the correct international recipient and store
message_idwith your own request record. - Reuse the same idempotency key and data for uncertain retries; use backoff for HTTP 429/503.
- Enable your HTTPS webhook, answer its connection test with exactly HTTP 200, and make event handling idempotent.
- Treat HTTP 200 as acceptance; use webhook state or Message logs to determine delivery.
- Review final channel attempts, wallet history and refunds separately from transport-level HTTP errors.
Compatibility and scope notes
- Existing accepted API keys continue to identify the same migrated customer. Creating a new key is not required solely for the migration.
- Existing root URL and versioned URL requests keep their parameter names and accepted JSON/form formats. Existing account or key restrictions remain meaningful.
- Use
https://api.verifyway.com/api/v1for a new integration andhttps://api.verifyway.com/api/v1/balancefor new balance integrations. Usehttps://verifyway.com/app/for the dashboard. - Saved cards, wallet funding and automatic top-ups are dashboard/billing functions, not extra public OTP API endpoints.
- This is a reference for the reviewed new release. It does not mean all customer accounts have been switched, workers activated or the migration approved. The old service can still return its old error text before an account's cutover.
- Policy thresholds, languages, routing and prices can change under administrator control. Numeric examples are explanatory, not live quotations.