# GlobeVerify REST API Documentation

Canonical HTML docs: https://www.globeverify.com/docs
OpenAPI 3.1 spec: https://www.globeverify.com/openapi.json
Base URL: https://api.globeverify.com
Authentication: send header `x-api-key: <YOUR_API_KEY>` (create keys at Dashboard → API Keys & Webhooks).
These docs are public; no sign-in is required to read them.

## Services Catalog

The Catalog API provides resources for querying available countries, services, precise pricing, and current stock levels for virtual numbers. Base URL: https://api.globeverify.com

### Get Countries

`GET https://api.globeverify.com/v1/countries`

Fetch all countries currently supported by the provider. Each entry includes an integer ID (use this for other API calls), the full country name, a short_name ISO code, the international calling code (cc), and a region label for grouping. Available regions: Favourites, Europe, Asia, Africa, North America, South America, Central America, Carribeans, Oceania, Virtuals.

**Headers**

- `x-api-key` — Your Developer API Key

**Response 200 OK**

```json
[
  {
    "ID": 1,
    "name": "United States",
    "short_name": "US",
    "cc": "1",
    "region": "Favourites"
  },
  {
    "ID": 14,
    "name": "Nigeria",
    "short_name": "NG",
    "cc": "234",
    "region": "Africa"
  },
  {
    "ID": 9,
    "name": "Indonesia",
    "short_name": "ID",
    "cc": "62",
    "region": "Asia"
  }
]
```

### Get Available Services

`GET https://api.globeverify.com/v1/services`

Fetch all services available on the platform (e.g., WhatsApp, Telegram, Google, Discord). Results are sorted with favourites (favourite: 1) at the top, followed by alphabetical listings. Use the integer ID when purchasing a number.

**Headers**

- `x-api-key` — Your Developer API Key

**Query parameters**

- `country` (string, optional) — Optional country ID or short_name to filter services by availability.

**Response 200 OK**

```json
[
  {
    "ID": 273,
    "name": "Discord",
    "favourite": 1,
    "successRate": null
  },
  {
    "ID": 1012,
    "name": "WhatsApp",
    "favourite": 1,
    "successRate": null
  },
  {
    "ID": 907,
    "name": "Telegram",
    "favourite": 1,
    "successRate": null
  },
  {
    "ID": 395,
    "name": "Google/Gmail",
    "favourite": 1,
    "successRate": null
  }
]
```

### Get Stock Levels

`GET https://api.globeverify.com/v1/stock`

Fetch current inventory stock levels for a specific service in a specific country.

**Headers**

- `x-api-key` — Your Developer API Key

**Query parameters**

- `country` (string, required) — Target country ID or short_name.
- `service` (string, required) — Target service ID.

**Response 200 OK**

```json
{
  "amount": 17312,
  "success": true
}
```

### Get Area Codes

`GET https://api.globeverify.com/v1/areacodes`

Fetch available area codes for the specified service and country. Returns a flat array of integer area codes. Used mainly for North American numbers.

**Headers**

- `x-api-key` — Your Developer API Key

**Query parameters**

- `country` (string, required) — Target country ID or short_name.
- `service` (string, required) — Target service ID.
- `pool` (string, optional) — Optional provider pool.

**Response 200 OK**

```json
[
  201,
  202,
  212,
  213,
  310,
  312,
  404,
  415
]
```

### Get Instant Price

`GET https://api.globeverify.com/v1/price`

Calculate the exact billing cost for purchasing a service, accounting for the developer's specific discounts and multi-currency exchange rates.

**Headers**

- `x-api-key` — Your Developer API Key

**Query parameters**

- `country` (string, optional) — Target country ID or short_name.
- `service` (string, optional) — Target service ID.
- `currency` (string, optional) — Optional desired output currency (e.g. NGN, USD).
- `pricing_option` (integer, optional) — 0 for Economy, 1 for High Success Rate.
- `pool` (string, optional) — Optional explicit pool alias to lock pricing.
- `max_price` (number, optional) — Optional maximum price budget. If the pool exceeds this, returns NO_POOL.

**Response 200 OK**

```json
{
  "success": true,
  "price": 2898,
  "currency": "NGN",
  "formatted": "₦2898.00",
  "supportsPoolSelection": true,
  "successRate": 62
}
```

### Get Available Pools

`GET https://api.globeverify.com/v1/pools`

Fetch all available underlying provider pools for a specific service and country. Includes their unique aliases, pricing, and success rates.

**Headers**

- `x-api-key` — Your Developer API Key

**Query parameters**

- `country` (string, required) — Target country ID or short_name.
- `service` (string, required) — Target service ID.

**Response 200 OK**

```json
{
  "supportsPoolSelection": true,
  "pools": [
    {
      "alias": "Nova",
      "price": 2884,
      "formatted": "₦2884.00",
      "currency": "NGN",
      "success_rate": 64
    },
    {
      "alias": "Standard",
      "price": 2898,
      "formatted": "₦2898.00",
      "currency": "NGN",
      "success_rate": 59
    }
  ]
}
```

## Virtual Numbers (OTP)

Provides core mechanics for creating and managing one-time virtual numbers for SMS verifications. Automatically deducts funds from your internal wallet balances. Base URL: https://api.globeverify.com/v1/numbers

### Purchase a One-Time Number

`POST https://api.globeverify.com/v1/numbers/purchase`

Provision a number for a targeted service. Purchases are immediately debited from your wallet.

**Headers**

- `x-api-key` — Your Developer API Key
- `Content-Type` — application/json

**Request body**

```json
{
  "country": "US",
  "service": 273,
  "serviceName": "Discord",
  "pricing_option": 1,
  "pool": "Nova",
  "max_price": 500
}
```

**Response 200 OK** — Number Purchased Successfully

```json
{
  "success": true,
  "message": "Number purchased successfully",
  "data": {
    "_id": "6a1ac6d8511382ccc15007d6",
    "user": "6abc0612b7d78e71d77fc81c",
    "phoneNumber": "+1 5033051381",
    "countryCode": "US",
    "countryName": "United States",
    "service": "273",
    "serviceName": "Discord",
    "status": "active",
    "cost": 80.1,
    "currency": "NGN",
    "type": "sms",
    "lineType": "non_voip",
    "isFullAccess": false,
    "autoRenew": false,
    "orderSource": "api",
    "isReactivated": false,
    "enableVoicemail": false,
    "forwardToNumber": "",
    "expiresAt": "2026-05-30T11:35:36.000Z",
    "transactionId": "6a1ac6d8511382ccc15007d5",
    "otps": [],
    "purchasedAt": "2026-05-30T11:15:36.469Z"
  }
}
```

**Response 202 Accepted** — Queued (Returned if internal stock is low)

```json
{
  "success": true,
  "pending": true,
  "message": "Order queued due to high demand. You will receive an email when your number is ready.",
  "orderId": "queue_817...",
  "estimatedWait": "5-25 minutes"
}
```

### Check Inbox (OTP)

`GET https://api.globeverify.com/v1/numbers/:numberId/otp`

Poll this endpoint repeatedly to read incoming SMS OTPs for a specific active number. The numberId is the _id field returned from the purchase endpoint.

**Headers**

- `x-api-key` — Your Developer API Key

**Response 200 OK** — No Message Yet

```json
{
  "success": true,
  "data": {
    "otps": [],
    "status": "active"
  }
}
```

**Response 200 OK** — OTP Received

```json
{
  "success": true,
  "data": {
    "otps": [
      {
        "code": "849201",
        "message": "Your Discord verification code is: 849201",
        "sender": "Discord",
        "receivedAt": "2026-05-30T11:20:00.000Z"
      }
    ],
    "status": "completed"
  }
}
```

### Cancel & Refund Number

`POST https://api.globeverify.com/v1/numbers/:numberId/cancel`

Cancel an active number. If cancelled before OTP extraction, funds are refunded to your wallet. The full updated order object is returned.

**Headers**

- `x-api-key` — Your Developer API Key

**Response 200 OK**

```json
{
  "success": true,
  "message": "Number cancelled and refunded.",
  "data": {
    "_id": "6a1ac6d8511382ccc15007d6",
    "user": "6abc0612b7d78e71d77fc81c",
    "phoneNumber": "+1 5033051381",
    "countryCode": "US",
    "countryName": "United States",
    "service": "273",
    "serviceName": "Discord",
    "status": "cancelled",
    "cost": 80.1,
    "currency": "NGN",
    "type": "sms",
    "lineType": "non_voip",
    "isFullAccess": false,
    "autoRenew": false,
    "orderSource": "api",
    "isReactivated": false,
    "enableVoicemail": false,
    "forwardToNumber": "",
    "expiresAt": "2026-05-30T11:35:36.000Z",
    "transactionId": "6a1ac6d8511382ccc15007d5",
    "otps": [],
    "purchasedAt": "2026-05-30T11:15:36.469Z"
  }
}
```

### Retrieve Reuse Capability

`GET https://api.globeverify.com/v1/numbers/:numberId/reuse`

Determine if a number can be reused (resent for free or reactivated for a fee).

**Headers**

- `x-api-key` — Your Developer API Key

**Response 200 OK**

```json
{
  "success": true,
  "data": {
    "success": true,
    "canResendForFree": true,
    "message": "This phone number is available for resend!",
    "resendCost": 0
  }
}
```

### Execute Number Reuse

`POST https://api.globeverify.com/v1/numbers/:numberId/reuse`

Initiate a reactivation (paid) or resend trigger (free).

**Headers**

- `x-api-key` — Your Developer API Key
- `Content-Type` — application/json

**Request body**

```json
{
  "payToReactivate": true
}
```

**Response 200 OK**

```json
{
  "success": true,
  "message": "Number successfully reactivated to receive SMS.",
  "phone": "+1 5033051381"
}
```

## Developer Rental API

Manage long-term virtual numbers, read incoming SMS, and send outbound SMS. Important: Access to these endpoints requires explicit administrative approval. If you receive an unauthorized error, please contact support to activate your Rental API status. Base URL: https://api.globeverify.com

### Get Rental Options

`GET https://api.globeverify.com/v1/rentals/options`

Fetch a live list of available phone numbers for rent, including pricing and supported durations.

**Headers**

- `x-api-key` — Your Developer API Key

**Query parameters**

- `countryCode` (string, optional) — The 2-letter ISO country code (e.g. US, GB, CA). Defaults to US.
- `areaCode` (string, optional) — Optional 3-digit area code to filter numbers (e.g. 212).
- `currency` (string, optional) — Optional desired output currency (e.g. NGN, USD).

**Response 200 OK**

```json
[
  {
    "phoneNumber": "+19482417375",
    "region": "US",
    "pricing": {
      "30": 8.5
    },
    "type": 1,
    "currency": "USD"
  },
  {
    "phoneNumber": "+19482417376",
    "region": "US",
    "pricing": {
      "30": 8.5
    },
    "type": 1,
    "currency": "USD"
  }
]
```

### Buy Rental Number

`POST https://api.globeverify.com/v1/rentals/buy`

Purchase one of the available rental numbers returned from the Options endpoint. Pass the phoneNumber string into the rentalId field.

**Headers**

- `x-api-key` — Your Developer API Key
- `Content-Type` — application/json

**Request body**

```json
{
  "rentalId": "+19482417375",
  "days": 30,
  "serviceId": "global",
  "country": "US"
}
```

**Response 200 OK**

```json
{
  "success": true,
  "data": {
    "id": "6a3c51705d305ae92f84a129",
    "phoneNumber": "+19482417375",
    "countryCode": "US",
    "countryName": "United States",
    "service": "global",
    "serviceName": "Number Rental",
    "status": "active",
    "cost": 8.5,
    "currency": "USD",
    "purchasedAt": "2026-06-25T14:15:00.000Z",
    "expiresAt": "2026-07-25T14:15:00.000Z"
  }
}
```

**Response 400 Bad Request** — Insufficient funds or unavailable number

```json
{
  "success": false,
  "message": "Insufficient balance"
}
```

### Extend Rental Duration

`POST https://api.globeverify.com/v1/rentals/extend`

Extend the expiration date of an active rental by 30 days. Uses the GlobeVerify rental ID (_id) of the number.

**Headers**

- `x-api-key` — Your Developer API Key
- `Content-Type` — application/json

**Request body**

```json
{
  "rentalId": "6a3c51705d305ae92f84a129",
  "days": 30
}
```

**Response 200 OK**

```json
{
  "success": true,
  "message": "Rental extended by 30 days",
  "data": {
    "rentalId": "6a3c51705d305ae92f84a129",
    "expiresAt": "2026-08-25T14:15:00.000Z"
  }
}
```

### List Active Rentals

`GET https://api.globeverify.com/v1/rentals`

Retrieve a list of all your currently active rental numbers.

**Headers**

- `x-api-key` — Your Developer API Key

**Response 200 OK**

```json
{
  "success": true,
  "rentals": [
    {
      "id": "6a3c51705d305ae92f84a129",
      "phoneNumber": "+19482417375",
      "status": "active",
      "country": "US",
      "purchasedAt": "2026-06-25T14:15:00.000Z",
      "expiresAt": "2026-07-25T14:15:00.000Z"
    }
  ]
}
```

### Get Rental Messages

`GET https://api.globeverify.com/v1/rentals/:rentalId/messages`

Fetch the SMS and voicemail history for a specific rental number using its GlobeVerify rental ID.

**Headers**

- `x-api-key` — Your Developer API Key

**Response 200 OK**

```json
{
  "success": true,
  "messages": [
    {
      "id": "7b4d62816e416bf83f95b230",
      "direction": "inbound",
      "from": "+15551234567",
      "to": "+19482417375",
      "body": "Your verification code is 123456",
      "status": "received",
      "createdAt": "2026-06-25T10:15:00.000Z"
    }
  ]
}
```

### Send Outbound SMS

`POST https://api.globeverify.com/v1/rentals/:rentalId/sms`

Send an outbound SMS from your rental number. The cost per SMS is deducted natively from your active balance.

**Headers**

- `x-api-key` — Your Developer API Key
- `Content-Type` — application/json

**Request body**

```json
{
  "to": "+15551234567",
  "text": "Hello from Globeverify!"
}
```

**Response 200 OK**

```json
{
  "success": true,
  "message": {
    "direction": "outbound",
    "rentalPhoneNumber": "+19482417375",
    "remotePhoneNumber": "+15551234567",
    "text": "Hello from Globeverify!",
    "status": "sent",
    "costUSD": 0.05,
    "timestamp": "2026-06-25T12:00:00.000Z"
  }
}
```

**Response 400 Bad Request** — Insufficient funds or bad number

```json
{
  "success": false,
  "message": "Insufficient telecom credits"
}
```

## Wallet API

Exposes your internal GlobeVerify account balance to integrate balance checks before dispatching orders. Base URL: https://api.globeverify.com/v1

### Get Wallet Balance

`GET https://api.globeverify.com/v1/balance`

Fetch your current active wallet balance bounded by your active session currency.

**Headers**

- `x-api-key` — Your Developer API Key

**Response 200 OK**

```json
{
  "success": true,
  "data": {
    "balance": 2626.65,
    "currency": "NGN",
    "balances": {
      "usd": 0,
      "ngn": 2626.65
    }
  }
}
```

## Webhooks (Outbound Events)

Receive real-time HTTP POST notifications on your server when OTPs arrive, orders are allocated, or orders expire/cancel. Configure your Webhook URL and Secret in the Developer Dashboard. Authenticate incoming requests by verifying the HMAC SHA-256 signature in the X-GlobeVerify-Signature header.

### Event: OTP Received (otp.received)

Webhook delivery: `POST <Your Webhook URL>`

Delivered in real-time when an SMS verification code is received for any standard or cheap verification number.

**Headers**

- `Content-Type` — application/json
- `X-GlobeVerify-Signature` — HMAC SHA-256 signature generated with your Webhook Secret
- `User-Agent` — GlobeVerify-Webhook-Dispatcher/1.0

**Request body**

```json
{
  "event": "otp.received",
  "timestamp": "2026-10-17T15:30:00.000Z",
  "data": {
    "orderId": "6ad23972b5e181e762f5428e",
    "orderType": "cheap",
    "phoneNumber": "+13364151656",
    "service": "wa",
    "serviceName": "WhatsApp",
    "otp": {
      "code": "232321",
      "message": "Your WhatsApp verification code is: 232-321",
      "sender": "WhatsApp"
    }
  }
}
```

**Response 200 OK** — Your server should return a 200 OK status code promptly.

```json
{
  "received": true
}
```

### Event: Order Allocated (order.allocated)

Webhook delivery: `POST <Your Webhook URL>`

Delivered when a queued pending order is successfully provisioned into an active number.

**Headers**

- `Content-Type` — application/json
- `X-GlobeVerify-Signature` — HMAC SHA-256 signature generated with your Webhook Secret

**Request body**

```json
{
  "event": "order.allocated",
  "timestamp": "2026-10-17T15:30:00.000Z",
  "data": {
    "orderId": "6a1ac6d8511382ccc15007d6",
    "orderType": "standard",
    "phoneNumber": "+15033051381",
    "service": "273",
    "serviceName": "Discord",
    "cost": 80.1,
    "currency": "NGN"
  }
}
```

**Response 200 OK** — Acknowledge receipt with 200 OK.

```json
{
  "received": true
}
```

### Event: Order Expired (order.expired)

Webhook delivery: `POST <Your Webhook URL>`

Delivered when an order times out without receiving an SMS code and is automatically refunded.

**Headers**

- `Content-Type` — application/json
- `X-GlobeVerify-Signature` — HMAC SHA-256 signature generated with your Webhook Secret

**Request body**

```json
{
  "event": "order.expired",
  "timestamp": "2026-10-17T15:30:00.000Z",
  "data": {
    "orderId": "6ad23972b5e181e762f5428e",
    "orderType": "cheap",
    "phoneNumber": "+13364151656",
    "service": "wa",
    "serviceName": "WhatsApp",
    "refunded": true,
    "refundAmount": 1350,
    "currency": "NGN"
  }
}
```

**Response 200 OK** — Acknowledge receipt with 200 OK.

```json
{
  "received": true
}
```

### Event: Order Cancelled (order.cancelled)

Webhook delivery: `POST <Your Webhook URL>`

Delivered when a verification order is cancelled manually or fails provisioning.

**Headers**

- `Content-Type` — application/json
- `X-GlobeVerify-Signature` — HMAC SHA-256 signature generated with your Webhook Secret

**Request body**

```json
{
  "event": "order.cancelled",
  "timestamp": "2026-10-17T15:30:00.000Z",
  "data": {
    "orderId": "6ad23972b5e181e762f5428e",
    "orderType": "cheap",
    "phoneNumber": "+13364151656",
    "service": "wa",
    "serviceName": "WhatsApp",
    "refunded": true,
    "refundAmount": 1350,
    "currency": "NGN"
  }
}
```

**Response 200 OK** — Acknowledge receipt with 200 OK.

```json
{
  "received": true
}
```

### Event: Rental Message Received (rental.message.received)

Webhook delivery: `POST <Your Webhook URL>`

Delivered when an SMS arrives on a long-term rental number.

**Headers**

- `Content-Type` — application/json
- `X-GlobeVerify-Signature` — HMAC SHA-256 signature generated with your Webhook Secret

**Request body**

```json
{
  "event": "rental.message.received",
  "timestamp": "2026-10-17T15:30:00.000Z",
  "data": {
    "rentalId": "6a993972b5e181e762f5428a",
    "phoneNumber": "+12025550198",
    "from": "+18005550123",
    "message": "Your security code is 782194.",
    "code": "782194"
  }
}
```

**Response 200 OK** — Acknowledge receipt with 200 OK.

```json
{
  "received": true
}
```

## White-Label Provisioning

Automate the creation of white-label reseller sites directly via the API. Note: For Pro and Enterprise users, if your balance is insufficient, you can purchase sites on loan up to a limit of -$200.00 (or -₦300,000).

### Get Plans

`GET https://api.globeverify.com/v1/whitelabel/plans`

Fetch available whitelabel plans and prices, applying your custom user discounts. Plans include mini, pro, and max tiers with both USD and NGN pricing.

**Headers**

- `x-api-key` — Your Developer API Key

**Response 200 OK**

```json
{
  "success": true,
  "data": [
    {
      "_id": "69ab4c8de83636f9c8e086b7",
      "tier": "mini",
      "name": "Mini Plan",
      "priceUSD": 5,
      "priceNGN": 7500,
      "currency": "NGN",
      "isActive": true,
      "features": []
    },
    {
      "_id": "69ab4c8de83636f9c8e086b8",
      "tier": "pro",
      "name": "Pro Plan",
      "priceUSD": 38,
      "priceNGN": 57000,
      "currency": "NGN",
      "isActive": true,
      "features": []
    },
    {
      "_id": "69ab4c8ee83636f9c8e086b9",
      "tier": "max",
      "name": "Max Plan",
      "priceUSD": 128.99,
      "priceNGN": 193485,
      "currency": "NGN",
      "isActive": true,
      "features": []
    }
  ],
  "domainMarkup": 7500,
  "currency": "NGN"
}
```

### Check Domain Availability & Price

`GET https://api.globeverify.com/v1/whitelabel/check-domain`

Check if a custom domain is available for registration and get its full cost breakdown including base price, markup, and totals in both USD and NGN.

**Headers**

- `x-api-key` — Your Developer API Key

**Query parameters**

- `domain` (string, required) — Domain to check (e.g., example.com)

**Response 200 OK**

```json
{
  "success": true,
  "available": true,
  "basePriceUSD": 12,
  "basePriceNGN": 16800,
  "markupNGN": 7000,
  "totalPriceUSD": 17,
  "totalPriceNGN": 23800,
  "currency": "NGN"
}
```

### Purchase a White-Label Site

`POST https://api.globeverify.com/v1/whitelabel/purchase`

Provision a new white-label site. Pro/Enterprise users can purchase on loan up to a maximum debt of -$200.00 or -₦300,000.

**Headers**

- `x-api-key` — Your Developer API Key
- `Content-Type` — application/json

**Request body**

```json
{
  "tier": "pro",
  "domain": "my-cool-site.com",
  "isSubdomain": false,
  "siteName": "My Site",
  "ownerEmail": "admin@my-cool-site.com",
  "ownerPassword": "secure123",
  "ownerFirstName": "John",
  "ownerLastName": "Doe"
}
```

**Response 201 Created**

```json
{
  "success": true,
  "message": "White-label site ordered. Your custom domain is being registered and configured. You will receive an email shortly.",
  "data": {
    "_id": "69d606c380db0a5972360435",
    "siteName": "My Site",
    "domain": "my-cool-site.com",
    "isSubdomain": false,
    "domainStatus": "pending",
    "tier": "pro",
    "status": "pending_setup",
    "ownerEmail": "admin@my-cool-site.com",
    "costUSD": 55,
    "chargedAmount": 82500,
    "currency": "NGN",
    "createdOnLoan": true,
    "createdAt": "2026-04-08T07:41:55.350Z"
  }
}
```

### List My Sites

`GET https://api.globeverify.com/v1/whitelabel/sites`

Fetch all white-label sites provisioned by your account.

**Headers**

- `x-api-key` — Your Developer API Key

**Response 200 OK**

```json
{
  "success": true,
  "data": [
    {
      "_id": "69d606c380db0a5972360435",
      "siteName": "My Site",
      "domain": "mysite.getsms.site",
      "isSubdomain": true,
      "domainStatus": "active",
      "tier": "mini",
      "status": "active",
      "ownerEmail": "admin@example.com",
      "costUSD": 5,
      "chargedAmount": 7500,
      "currency": "NGN",
      "createdAt": "2026-04-08T07:41:55.350Z"
    }
  ]
}
```

### Validate Coupon

`POST https://api.globeverify.com/v1/whitelabel/validate-coupon`

Validate a discount coupon code before purchasing a white-label site.

**Headers**

- `x-api-key` — Your Developer API Key
- `Content-Type` — application/json

**Request body**

```json
{
  "code": "SUMMER20"
}
```

**Response 200 OK**

```json
{
  "success": true,
  "discountPercentage": 20
}
```

### Upgrade/Downgrade Site Tier

`POST https://api.globeverify.com/v1/whitelabel/upgrade`

Change the subscription tier of an existing white-label site. The price difference will be deducted from your balance.

**Headers**

- `x-api-key` — Your Developer API Key
- `Content-Type` — application/json

**Request body**

```json
{
  "orderId": "6a20b55c8a85b55fa05c7a51",
  "newTier": "pro"
}
```

**Response 200 OK**

```json
{
  "success": true,
  "message": "Upgraded successfully",
  "data": {
    "tier": "pro",
    "domain": "mysite.getsms.site"
  }
}
```

### Update Branding

`PUT https://api.globeverify.com/v1/whitelabel/branding`

Update the logo URL and theme colors of an existing white-label site.

**Headers**

- `x-api-key` — Your Developer API Key
- `Content-Type` — application/json

**Request body**

```json
{
  "orderId": "6a20b55c8a85b55fa05c7a51",
  "logo": "https://example.com/logo.png",
  "primaryColor": "#ff0000",
  "secondaryColor": "#06b6d4"
}
```

**Response 200 OK**

```json
{
  "success": true,
  "message": "Branding updated successfully",
  "data": {
    "logo": "https://example.com/logo.png",
    "primaryColor": "#ff0000",
    "secondaryColor": "#06b6d4"
  }
}
```

### Sync Site Data

`POST https://api.globeverify.com/v1/whitelabel/sync`

Synchronize the status and tier of your white-label site with the upstream master network.

**Headers**

- `x-api-key` — Your Developer API Key
- `Content-Type` — application/json

**Request body**

```json
{
  "orderId": "6a20b55c8a85b55fa05c7a51"
}
```

**Response 200 OK**

```json
{
  "success": true,
  "message": "Site synced successfully",
  "data": {
    "status": "active",
    "tier": "pro"
  }
}
```

## Cheap Verification Numbers (NGN)

High-volume, wholesale-priced virtual phone numbers for instant SMS verification, denominated exclusively in Nigerian Naira (NGN). Important: Access to this API requires an approved developer account with an active NGN wallet balance. Carrier identities are anonymized to protect routing infrastructure. Base URL: https://api.globeverify.com

### Get Countries

`GET https://api.globeverify.com/v1/cheap/countries`

Fetch supported countries for cheap verification numbers.

**Headers**

- `x-api-key` — Your Developer API Key

**Response 200 OK**

```json
{
  "success": true,
  "data": [
    {
      "id": "us",
      "code": "us",
      "short_name": "USA",
      "name": "United States"
    }
  ]
}
```

### Get Services & Live Pricing

`GET https://api.globeverify.com/v1/cheap/services`

Fetch all available services with live stock and current wholesale NGN pricing.

**Headers**

- `x-api-key` — Your Developer API Key

**Response 200 OK**

```json
{
  "success": true,
  "count": 71,
  "data": [
    {
      "id": "whatsapp",
      "serviceId": 3,
      "name": "WhatsApp",
      "price": 1350,
      "currency": "NGN",
      "available": 95
    },
    {
      "id": "telegram",
      "serviceId": 15,
      "name": "Telegram",
      "price": 950,
      "currency": "NGN",
      "available": 60
    }
  ]
}
```

### Purchase Cheap Number

`POST https://api.globeverify.com/v1/cheap/purchase`

Purchase a single-use cheap verification number. The cost is deducted directly from your NGN wallet balance.

**Headers**

- `x-api-key` — Your Developer API Key
- `Content-Type` — application/json

**Request body**

```json
{
  "service": "whatsapp",
  "country": "us"
}
```

**Response 201 Created**

```json
{
  "success": true,
  "message": "Number purchased successfully",
  "data": {
    "id": "6ad23972b5e181e762f5428e",
    "phoneNumber": "+13364151656",
    "countryCode": "us",
    "countryName": "United States",
    "service": "WhatsApp",
    "serviceName": "WhatsApp",
    "status": "waiting",
    "cost": 1350,
    "currency": "NGN",
    "type": "cheap",
    "isReused": false,
    "expiresAt": "2026-10-17T15:35:00.000Z",
    "purchasedAt": "2026-10-17T15:15:00.000Z"
  }
}
```

### Check Order Status & OTP

`GET https://api.globeverify.com/v1/cheap/:orderId/status`

Poll for incoming SMS verification codes for an active cheap number.

**Headers**

- `x-api-key` — Your Developer API Key

**Response 200 OK**

```json
{
  "success": true,
  "data": {
    "id": "6ad23972b5e181e762f5428e",
    "phoneNumber": "+13364151656",
    "status": "completed",
    "otps": [
      {
        "code": "232321",
        "message": "Your WhatsApp code: 232-321",
        "sender": "WhatsApp",
        "receivedAt": "2026-10-17T15:18:00.000Z"
      }
    ]
  }
}
```

### Cancel Order

`POST https://api.globeverify.com/v1/cheap/:orderId/cancel`

Cancel a waiting cheap order and refund funds to your NGN wallet balance.

**Headers**

- `x-api-key` — Your Developer API Key

**Response 200 OK**

```json
{
  "success": true,
  "message": "Order cancelled and refunded.",
  "data": {
    "id": "6ad23972b5e181e762f5428e",
    "status": "cancelled",
    "refunded": true,
    "refundAmount": 1350,
    "currency": "NGN"
  }
}
```

### List My Orders

`GET https://api.globeverify.com/v1/cheap/orders`

Retrieve a list of cheap numbers purchased by your developer account.

**Headers**

- `x-api-key` — Your Developer API Key

**Query parameters**

- `status` (string, optional) — Optional status filter (waiting, completed, cancelled)
- `limit` (integer, optional) — Maximum number of orders to return (default: 50, max: 100)

**Response 200 OK**

```json
{
  "success": true,
  "data": [
    {
      "id": "6ad23972b5e181e762f5428e",
      "phoneNumber": "+13364151656",
      "countryCode": "us",
      "countryName": "United States",
      "service": "WhatsApp",
      "status": "completed",
      "cost": 1350,
      "currency": "NGN",
      "otps": [
        {
          "code": "232321",
          "message": "Your WhatsApp code: 232-321",
          "sender": "WhatsApp",
          "receivedAt": "2026-10-17T15:18:00.000Z"
        }
      ],
      "purchasedAt": "2026-10-17T15:15:00.000Z"
    }
  ]
}
```

### Get Reusable Numbers

`GET https://api.globeverify.com/v1/cheap/reusable-numbers`

Fetch previously purchased phone numbers that are currently eligible for number reuse.

**Headers**

- `x-api-key` — Your Developer API Key

**Response 200 OK**

```json
{
  "success": true,
  "data": [
    "+13364151656"
  ]
}
```

### Get Reusable Services

`GET https://api.globeverify.com/v1/cheap/reusable-services`

Fetch services and discounted pricing available for a reusable phone number.

**Headers**

- `x-api-key` — Your Developer API Key

**Query parameters**

- `number` (string, required) — The phone number to check (e.g. +13364151656)

**Response 200 OK**

```json
{
  "success": true,
  "data": [
    {
      "serviceId": 1,
      "name": "Instagram",
      "price": 1125,
      "currency": "NGN",
      "discountPercent": 10,
      "previouslyUsed": false
    }
  ]
}
```

### Execute Number Reuse

`POST https://api.globeverify.com/v1/cheap/reuse`

Reuse an eligible number for a new verification on a supported service.

**Headers**

- `x-api-key` — Your Developer API Key
- `Content-Type` — application/json

**Request body**

```json
{
  "number": "+13364151656",
  "serviceId": 1
}
```

**Response 201 Created**

```json
{
  "success": true,
  "message": "Number reused successfully",
  "data": {
    "id": "6ad23972b5e181e762f5428f",
    "phoneNumber": "+13364151656",
    "service": "Instagram",
    "status": "waiting",
    "cost": 1125,
    "currency": "NGN",
    "isReused": true,
    "expiresAt": "2026-10-17T15:35:00.000Z"
  }
}
```
