0%
DDBoost BusinessDocumentation
OpenAPI Get API access
Use these docs with AIOne plain Markdown copy of this page, always in step with it, for ChatGPT, Claude, Cursor and other AI tools.

DDBoost Business API

Resell social boosting, Telegram premium & stars, email accounts, virtual numbers, gift cards, VPN and bill payments from your own storefront, bot or panel. One JSON API, one wallet, a full sandbox with test money.

Quick start

  1. Apply for API access on ddboost.com and wait for approval.
  2. Open the dashboard, switch to Sandbox, fill the test wallet and create a key.
  3. Call the API:
curl https://api.ddboost.com/sandbox/v1/ping \
  -H "Authorization: Bearer YOUR_API_KEY"
const response = await fetch("https://api.ddboost.com/sandbox/v1/ping", {
  method: "GET",
  headers: {
    "Authorization": "Bearer YOUR_API_KEY",
  },
});
const result = await response.json();
console.log(result);
import requests

response = requests.get(
    "https://api.ddboost.com/sandbox/v1/ping",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
)
print(response.json())
$ch = curl_init("https://api.ddboost.com/sandbox/v1/ping");
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        "Authorization: Bearer YOUR_API_KEY",
    ],
]);
$result = json_decode(curl_exec($ch), true);
print_r($result);
package main

import (
	"fmt"
	"io"
	"net/http"
)

func main() {
	req, _ := http.NewRequest("GET", "https://api.ddboost.com/sandbox/v1/ping", nil)
	req.Header.Set("Authorization", "Bearer YOUR_API_KEY")
	res, err := http.DefaultClient.Do(req)
	if err != nil {
		panic(err)
	}
	defer res.Body.Close()
	out, _ := io.ReadAll(res.Body)
	fmt.Println(string(out))
}

Replace YOUR_API_KEY with the key you created. A good answer looks like this:

{
  "success": true,
  "data": {
    "environment": "sandbox",
    "status": "ok"
  },
  "request_id": "req_k3j9..."
}

When your integration works in the sandbox, create a live key and change /sandbox/ to /live/ in the base URL. Nothing else changes.

Base URL and environments

EnvironmentBase URLMoney
Livehttps://api.ddboost.com/live/v1Your real DDBoost wallet
Sandboxhttps://api.ddboost.com/sandbox/v1Test money. No real order is ever placed.

A key belongs to one environment. A sandbox key on a live URL (or the other way round) is refused with WRONG_ENVIRONMENT. The environment can never be changed by a parameter.

Authentication

Send your key in the Authorization header on every request:

Authorization: Bearer ddb_live_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  • Keys are shown once when created. We keep only a fingerprint, so we cannot show it again; create a new one instead.
  • Never put a key in a URL, a query string, a request body or client-side code (a browser or mobile app). Call the API from your server.
  • A missing, wrong, revoked or expired key all return the same 401 INVALID_API_KEY.
  • IP allowlist. On the key you can list allowed IPv4/IPv6 addresses or ranges (203.0.113.0/24, 2001:db8::/48). With no list, any IP may use the key. With a list, only those addresses can; anything else gets 403 IP_NOT_ALLOWED.
  • Services. Each key is limited to the services you tick. Others return 403 SCOPE_NOT_ALLOWED.
  • Daily spend cap. Optional per key. Orders beyond it return 429 DAILY_SPEND_CAP_REACHED.

Replacing a key

Press Rotate on the key page. You get a new key straight away; the old one keeps working for 48 hours so you can switch your servers without downtime, then stops by itself. You can revoke the old key sooner. We remind you in the dashboard when a key is three months old, but we never switch anything off for you.

Signing requests (optional)

Turn on Require signed requests for a key and every request must also carry:

HeaderValue
X-DDB-TimestampUnix seconds. Must be within 5 minutes of our clock.
X-DDB-Nonce8-64 characters (letters, digits, . _ -), different on every request. We remember a nonce for 10 minutes for that key; a repeated nonce is rejected.
X-DDB-SignatureHex (64 characters) HMAC-SHA256 of the string below, using your signing secret.
timestamp + "." + nonce + "." + METHOD + "." + path_and_query + "." + sha256_hex(body)
$body = json_encode($payload);
$toSign = $ts . '.' . $nonce . '.POST./live/v1/smm/orders.' . hash('sha256', $body);
$signature = hash_hmac('sha256', $toSign, $signingSecret);
const crypto = require('crypto');

const body = JSON.stringify(payload);
const bodyHash = crypto.createHash('sha256').update(body).digest('hex');
const toSign = `${ts}.${nonce}.POST./live/v1/smm/orders.${bodyHash}`;
const signature = crypto.createHmac('sha256', signingSecret).update(toSign).digest('hex');
import hashlib, hmac, json

body = json.dumps(payload)
body_hash = hashlib.sha256(body.encode()).hexdigest()
to_sign = f"{ts}.{nonce}.POST./live/v1/smm/orders.{body_hash}"
signature = hmac.new(signing_secret.encode(), to_sign.encode(), hashlib.sha256).hexdigest()

METHOD is upper case (GET, POST). path_and_query is the request target exactly as you send it: the path and, when there is one, the query string, character for character (for example /live/v1/orders?limit=25&service=smm). We do not reorder or re-encode it, so sign the very string you request. sha256_hex(body) is the lowercase hex SHA-256 of the exact bytes you send as the body, so serialise your JSON once, hash those bytes and send those same bytes. A request without a body hashes the empty string: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855. The signing secret is shown when you turn signing on; a key made with Rotate gets its own new secret. A wrong, missing or expired signature, or a reused nonce, returns 401 INVALID_SIGNATURE.

Requests and responses

Send and receive JSON. Every response has the same envelope and a request_id (also in the X-Request-Id header). Quote it when you contact support.

{
  "success": true,
  "data": { ... },
  "request_id": "req_..."
}
{
  "success": false,
  "error": {
    "code": "...",
    "message": "..."
  },
  "request_id": "req_..."
}

Money is always a string with two decimals in Naira ("1250.00"). Times are ISO 8601. HTTP status codes are meaningful: 2xx success, 4xx a problem with the request, 5xx a problem on our side.

What we check on every request

Every value must have exactly the type documented for it: a number is a JSON number ("quantity": 1000, not "1000"), text is text, and nothing is silently converted. Every text value has a maximum length and may not contain control or text-direction characters. A field we do not know is refused with 422 VALIDATION_FAILED naming it (it is never ignored), as are lists where a single value is expected. The body must be one JSON object, UTF-8, at most 256 KB and no more than 4 levels deep; the same field written twice is refused. Query strings are checked the same way: limit must be a whole number from 1 to 100, and an unknown parameter is refused. A request that fails any of these is never charged.

Retrying safely: client_reference

Every order needs a client_reference of your own (1-80 characters: letters, digits, . _ : -). It is unique per account, across all services; the sandbox and live keep their own references, so they never affect each other. If a request times out and you send it again with the same reference and the same body (the same fields and values; the order of the fields does not matter), you get the order back (status 200, header Idempotent-Replay: true) as it stands now, and you are not charged twice. Two identical requests sent at the same moment create one order: the second one returns it. Reusing a reference with a different body, or for a different service, returns 409 IDEMPOTENCY_CONFLICT. A reference stays attached to its order for as long as the order exists, so use a new reference for every genuinely new order.

Rate limits

Per key: up to 20 requests a second and 1,200 a minute. Order creation is limited per account: 5 a second and 300 a minute. Checking an order has its own, tighter limit: GET /orders/{id} allows 12 calls a minute for each order and no more than one call every 5 seconds for the same order, and GET /orders allows 6 a minute. Do not poll in a tight loop: subscribe to webhooks and let us tell you when an order changes, then fetch it once. If you exceed a limit you get 429 RATE_LIMITED with a Retry-After header (seconds). Back off and retry. Repeated failed authentication from one IP (20 in a minute) answers 429 TOO_MANY_FAILED_ATTEMPTS for a while. Order creation and cancellation are also limited to 5 requests running at the same moment for your account (and the platform keeps its own ceiling): a further simultaneous call answers 429 TOO_MANY_CONCURRENT_ORDERS with Retry-After: 2, and nothing is charged, so wait a moment and retry with the same client_reference. Reads and price quotes also share a platform ceiling on how many run at the same instant: a further call answers 429 TOO_MANY_CONCURRENT_REQUESTS with Retry-After: 1. Nothing happened, so wait a second and send it again; spread bursts out instead of firing dozens in parallel. Every limit is checked before any charge, so a refused request never costs you anything.

Account endpoints

GET/{env}/v1/ping

Checks your key and connectivity. maintenance is true while live orders are paused (see API_MAINTENANCE under Errors).

Example responses (values are illustrative)

200 OK

{
    "success": true,
    "data": {
        "environment": "live",
        "status": "ok",
        "maintenance": false
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}

401 Key missing, wrong, revoked or expired

{
    "success": false,
    "error": {
        "code": "INVALID_API_KEY",
        "message": "The API key is missing, invalid, revoked or expired."
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}
GET/{env}/v1/balance

Your balance: the real wallet on live, the test wallet on sandbox.

Example responses (values are illustrative)

200 OK

{
    "success": true,
    "data": {
        "environment": "live",
        "currency": "NGN",
        "balance": "48250.00"
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}

401 Key missing, wrong, revoked or expired

{
    "success": false,
    "error": {
        "code": "INVALID_API_KEY",
        "message": "The API key is missing, invalid, revoked or expired."
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}
GET/{env}/v1/account

Your verification tier, application status and this key's settings.

Example responses (values are illustrative)

200 OK

{
    "success": true,
    "data": {
        "environment": "live",
        "kyc_tier": 2,
        "application_status": "approved",
        "cancellations": {
            "numbers": {
                "kind": "numbers",
                "used": 3,
                "limit": 300,
                "remaining": 297,
                "resets_at": "2026-11-24T10:15:00+00:00",
                "penalty_amount": "1000.00"
            },
            "emails": {
                "kind": "emails",
                "used": 0,
                "limit": 300,
                "remaining": 300,
                "resets_at": null,
                "penalty_amount": "150.00"
            }
        },
        "key": {
            "label": "Production",
            "prefix": "ddb_live_W1qnThHn",
            "scopes": [
                "smm",
                "vtu",
                "numbers"
            ],
            "ip_restricted": true,
            "daily_spend_cap": "500000.00"
        }
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}

403 Request from an IP that is not on the key's list

{
    "success": false,
    "error": {
        "code": "IP_NOT_ALLOWED",
        "message": "This request came from an IP address that is not on the allowlist for this key."
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}
GET/{env}/v1/services

Which services this key can use right now and, for the others, why not (KEY_SCOPE, KYC_TIER_TOO_LOW, NOT_RELEASED...).

Example responses (values are illustrative)

200 OK

{
    "success": true,
    "data": {
        "services": [
            {
                "service": "smm",
                "available": true,
                "reason": null
            },
            {
                "service": "vpn",
                "available": false,
                "reason": "KEY_SCOPE"
            },
            {
                "service": "giftcards",
                "available": false,
                "reason": "KYC_TIER_TOO_LOW"
            }
        ]
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}

Orders

POST/{env}/v1/{service}/orders

Creates an order for {service}: smm, telegram, emails, giftcards, vpn, numbers, vtu, engagement (GET /services shows what your key can use). The body depends on the service (below) and must include client_reference. Returns 201 and the order.

GET/{env}/v1/orders/{id}

One order. id is the id returned when you created it. Limit: 12 calls a minute per order; use webhooks instead of polling (see Rate limits).

Example responses (values are illustrative)

200 OK

{
    "success": true,
    "data": {
        "id": "DDB7K2M9X4QWERT5YU8P1ZA3",
        "service": "smm",
        "client_reference": "shop-1042",
        "status": "completed",
        "amount": "1850.00",
        "currency": "NGN",
        "refunded_amount": "0.00",
        "balance_before": "50000.00",
        "balance_after": "48150.00",
        "refund_balance_before": null,
        "refund_balance_after": null,
        "description": "Instagram Followers",
        "created_at": "2026-11-17T09:14:03+00:00",
        "updated_at": "2026-11-17T09:41:55+00:00",
        "details": {
            "service": 1204,
            "link": "https://instagram.com/acme",
            "quantity": 1000,
            "start_count": 4210,
            "remains": 0
        }
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}

404 No such order (or not yours)

{
    "success": false,
    "error": {
        "code": "ORDER_NOT_FOUND",
        "message": "No such order."
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}

429 Looked at the same order more than 12 times a minute

{
    "success": false,
    "error": {
        "code": "RATE_LIMITED",
        "message": "Too many requests. Try again shortly."
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}
GET/{env}/v1/orders?service=smm&limit=25&before=CURSOR

Your orders, newest first. limit is 1-100. When there are more, next_before is an opaque cursor: pass it back unchanged as before to continue (do not build or parse it; a cursor only works for the account and environment that received it). Limit: 6 calls a minute.

Example responses (values are illustrative)

200 OK (newest first; next_before is null when there are no more)

{
    "success": true,
    "data": {
        "orders": [
            {
                "id": "DDB7K2M9X4QWERT5YU8P1ZA3",
                "service": "smm",
                "client_reference": "shop-1042",
                "status": "completed",
                "amount": "1850.00",
                "currency": "NGN",
                "refunded_amount": "0.00",
                "balance_before": "50000.00",
                "balance_after": "48150.00",
                "refund_balance_before": null,
                "refund_balance_after": null,
                "description": "Instagram Followers",
                "created_at": "2026-11-17T09:14:03+00:00",
                "updated_at": "2026-11-17T09:41:55+00:00",
                "details": {
                    "service": 1204,
                    "link": "https://instagram.com/acme",
                    "quantity": 1000,
                    "start_count": 4210,
                    "remains": 0
                }
            },
            {
                "id": "DDB5N8R2C6HJKLP4WQ7ZT9XY",
                "service": "vtu",
                "client_reference": "shop-1043",
                "status": "completed",
                "amount": "490.00",
                "currency": "NGN",
                "refunded_amount": "0.00",
                "balance_before": "50000.00",
                "balance_after": "49510.00",
                "refund_balance_before": null,
                "refund_balance_after": null,
                "description": "MTN airtime 500",
                "created_at": "2026-11-17T09:14:03+00:00",
                "updated_at": "2026-11-17T09:14:03+00:00",
                "details": {
                    "description": "MTN AIRTIME 500 FOR 08031234567",
                    "recipient": "08031234567",
                    "face_value": "500.00"
                }
            }
        ],
        "next_before": "eyJpZCI6MTIzfQ.9b1c0f3a77d2"
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}

422 limit out of range, or a parameter we do not know

{
    "success": false,
    "error": {
        "code": "VALIDATION_FAILED",
        "message": "limit: Must be a whole number from 1 to 100.",
        "fields": {
            "limit": [
                "Must be a whole number from 1 to 100."
            ]
        }
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}

The order object

{
  "id": "DDB7K2M9...",
  "service": "smm",
  "client_reference": "shop-order-1042",
  "status": "processing",
  "amount": "1850.00",
  "currency": "NGN",
  "refunded_amount": "0.00",
  "balance_before": "50000.00",
  "balance_after": "48150.00",
  "refund_balance_before": null,
  "refund_balance_after": null,
  "description": "IG Followers",
  "created_at": "2026-10-21T09:14:03+00:00",
  "updated_at": "2026-10-21T09:14:03+00:00",
  "details": { ... service-specific ... }
}

status is the status of the order in its own product, exactly as we show it to our own customers on the website, word for word (spelling and capital letters included, so compare it as is). Each product has its own words:

Servicestatus words (the last ones are final)
SMMprocessing, pending, awaiting, progress → completed, partial (the rest refunded), refunded, canceled
Airtime, data, billspending → completed, failed (refunded)
NumbersPENDING, RECEIVED (number given, waiting for the code) → FINISHED, CANCELED, TIMEOUT, BANNED
Emails (short-term)PENDING, WAIT (waiting for the code), SUCCESS (the code arrived) → OK (closed), CANCEL, TIMEOUT, FAILED
Emails (accounts)PENDING, ACTIVE (delivered), FAILED, CANCELLED
Gift cardspending → success, failed
VPNpending, active → renewed, expired, failed, cancelled
Engagementprocessing, paused → completed, partial, cancelled
TelegramPROCESSING → COMPLETED, CANCELLED

Whether money came back is always in refunded_amount (a part-delivered order has partial or a similar status and a refunded_amount above zero). The sandbox shows the same words for each service.

A refund is always recorded on the same order. It never appears as a second order.

Balances. balance_before and balance_after are your wallet before and after this order was charged, so you can check our record against yours. When part or all of the order is refunded, refund_balance_before and refund_balance_after show the wallet around that refund (they are null when nothing was refunded). They are the same numbers in the order endpoints, the order list and every webhook. If your wallet moved in between (other orders, a top-up) the numbers still describe the moment of this order's own charge or refund. The sandbox shows null here.

SMM (social boosting)

Order followers, likes, views and other growth services for social media accounts and posts.

GET/{env}/v1/smm/catalog

Services with your price. id is the service id to use when you order. Optional ?category=Instagram.

{
  "id": 1204,
  "name": "Instagram Followers",
  "category": "Instagram",
  "type": "Default",
  "min": 100,
  "max": 50000,
  "rate_per_1000": "1850.00",
  "pricing": "per_1000",
  "refill": true,
  "cancel": false,
  "drip_feed": false,
  "description": "..."
}

Example responses (values are illustrative)

200 OK

{
    "success": true,
    "data": {
        "service": "smm",
        "items": [
            {
                "id": 1204,
                "name": "Instagram Followers",
                "category": "Instagram",
                "type": "Default",
                "min": 100,
                "max": 50000,
                "rate_per_1000": "1850.00",
                "pricing": "per_1000",
                "refill": true,
                "cancel": false,
                "drip_feed": false,
                "description": "..."
            }
        ]
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}
POST/{env}/v1/smm/quote

Prices the same body without placing it.

Example responses (values are illustrative)

200 OK

{
    "success": true,
    "data": {
        "service": "smm",
        "description": "Instagram Followers",
        "amount": "1850.00",
        "currency": "NGN",
        "normal_amount": "2000.00"
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}

422 Validation failed (nothing charged)

{
    "success": false,
    "error": {
        "code": "VALIDATION_FAILED",
        "message": "quantity: Must be a whole number (a JSON number, not text).",
        "fields": {
            "quantity": [
                "Must be a whole number (a JSON number, not text)."
            ]
        }
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}
POST/{env}/v1/smm/orders
curl -X POST https://api.ddboost.com/sandbox/v1/smm/orders \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
      "service": 1204,
      "link": "https://instagram.com/acme",
      "quantity": 1000,
      "client_reference": "shop-1042"
  }'
const response = await fetch("https://api.ddboost.com/sandbox/v1/smm/orders", {
  method: "POST",
  headers: {
    "Authorization": "Bearer YOUR_API_KEY",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
      "service": 1204,
      "link": "https://instagram.com/acme",
      "quantity": 1000,
      "client_reference": "shop-1042"
  }),
});
const result = await response.json();
console.log(result);
import requests

response = requests.post(
    "https://api.ddboost.com/sandbox/v1/smm/orders",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
    json={
        "service": 1204,
        "link": "https://instagram.com/acme",
        "quantity": 1000,
        "client_reference": "shop-1042"
    },
)
print(response.json())
$ch = curl_init("https://api.ddboost.com/sandbox/v1/smm/orders");
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_CUSTOMREQUEST => "POST",
    CURLOPT_HTTPHEADER => [
        "Authorization: Bearer YOUR_API_KEY",
        "Content-Type: application/json",
    ],
    CURLOPT_POSTFIELDS => json_encode([
        'service' => 1204,
        'link' => 'https://instagram.com/acme',
        'quantity' => 1000,
        'client_reference' => 'shop-1042',
    ]),
]);
$result = json_decode(curl_exec($ch), true);
print_r($result);
package main

import (
	"bytes"
	"fmt"
	"io"
	"net/http"
)

func main() {
	body := []byte(`{
    "service": 1204,
    "link": "https://instagram.com/acme",
    "quantity": 1000,
    "client_reference": "shop-1042"
}`)
	req, _ := http.NewRequest("POST", "https://api.ddboost.com/sandbox/v1/smm/orders", bytes.NewBuffer(body))
	req.Header.Set("Authorization", "Bearer YOUR_API_KEY")
	req.Header.Set("Content-Type", "application/json")
	res, err := http.DefaultClient.Do(req)
	if err != nil {
		panic(err)
	}
	defer res.Body.Close()
	out, _ := io.ReadAll(res.Body)
	fmt.Println(string(out))
}

Extra fields appear by service type, exactly as on ddboost.com: comments (custom comments, one per line; the quantity is the number of lines), usernames, hashtags, hashtag, username, media, groups, keywords, answer_number, and for subscriptions newposts, oldposts, min, max, delay, expiry. Drip-feed services take runs and interval. Package-type services are priced per order.

An order for a link that already has an open order for the same service returns 409 DUPLICATE_ACTIVE_ORDER. details contains service, link, quantity, start_count, remains.

Example responses (values are illustrative)

201 Created: charged and accepted

{
    "success": true,
    "data": {
        "id": "DDB7K2M9X4QWERT5YU8P1ZA3",
        "service": "smm",
        "client_reference": "shop-1042",
        "status": "processing",
        "amount": "1850.00",
        "currency": "NGN",
        "refunded_amount": "0.00",
        "balance_before": "50000.00",
        "balance_after": "48150.00",
        "refund_balance_before": null,
        "refund_balance_after": null,
        "description": "Instagram Followers",
        "created_at": "2026-11-17T09:14:03+00:00",
        "updated_at": "2026-11-17T09:14:03+00:00",
        "details": {
            "service": 1204,
            "link": "https://instagram.com/acme",
            "quantity": 1000,
            "start_count": 4210,
            "remains": 1000
        }
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}

200 Same client_reference and body sent again: the original order, header Idempotent-Replay: true

{
    "success": true,
    "data": {
        "id": "DDB7K2M9X4QWERT5YU8P1ZA3",
        "service": "smm",
        "client_reference": "shop-1042",
        "status": "processing",
        "amount": "1850.00",
        "currency": "NGN",
        "refunded_amount": "0.00",
        "balance_before": "50000.00",
        "balance_after": "48150.00",
        "refund_balance_before": null,
        "refund_balance_after": null,
        "description": "Instagram Followers",
        "created_at": "2026-11-17T09:14:03+00:00",
        "updated_at": "2026-11-17T09:14:03+00:00",
        "details": {
            "service": 1204,
            "link": "https://instagram.com/acme",
            "quantity": 1000,
            "start_count": 4210,
            "remains": 1000
        }
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}

402 Not enough balance (nothing charged)

{
    "success": false,
    "error": {
        "code": "INSUFFICIENT_BALANCE",
        "message": "Your balance is too low for this order."
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}

409 The same link already has an open order for this service

{
    "success": false,
    "error": {
        "code": "DUPLICATE_ACTIVE_ORDER",
        "message": "An order for this link is already in progress."
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}

409 Same client_reference, different body

{
    "success": false,
    "error": {
        "code": "IDEMPOTENCY_CONFLICT",
        "message": "This client_reference was already used for a different request. Use a new reference for a new order."
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}

422 Validation failed (nothing charged)

{
    "success": false,
    "error": {
        "code": "VALIDATION_FAILED",
        "message": "link: Invalid link.",
        "fields": {
            "link": [
                "Invalid link."
            ]
        }
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}

Telegram premium & stars

Buy or gift Telegram Premium or Stars for users and channels on Telegram.

GET/{env}/v1/telegram/catalog

Each product with ready-made options (the exact parameters and your price).

Example responses (values are illustrative)

200 OK

{
    "success": true,
    "data": {
        "service": "telegram",
        "items": [
            {
                "product": "premium_gift",
                "name": "Telegram Premium gift",
                "options": [
                    {
                        "params": {
                            "months": 3
                        },
                        "price": "9400.00"
                    }
                ]
            }
        ]
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}
POST/{env}/v1/telegram/orders
curl -X POST https://api.ddboost.com/sandbox/v1/telegram/orders \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
      "product": "premium_gift",
      "target": "@someuser",
      "months": 3,
      "client_reference": "tg-77"
  }'
const response = await fetch("https://api.ddboost.com/sandbox/v1/telegram/orders", {
  method: "POST",
  headers: {
    "Authorization": "Bearer YOUR_API_KEY",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
      "product": "premium_gift",
      "target": "@someuser",
      "months": 3,
      "client_reference": "tg-77"
  }),
});
const result = await response.json();
console.log(result);
import requests

response = requests.post(
    "https://api.ddboost.com/sandbox/v1/telegram/orders",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
    json={
        "product": "premium_gift",
        "target": "@someuser",
        "months": 3,
        "client_reference": "tg-77"
    },
)
print(response.json())
$ch = curl_init("https://api.ddboost.com/sandbox/v1/telegram/orders");
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_CUSTOMREQUEST => "POST",
    CURLOPT_HTTPHEADER => [
        "Authorization: Bearer YOUR_API_KEY",
        "Content-Type: application/json",
    ],
    CURLOPT_POSTFIELDS => json_encode([
        'product' => 'premium_gift',
        'target' => '@someuser',
        'months' => 3,
        'client_reference' => 'tg-77',
    ]),
]);
$result = json_decode(curl_exec($ch), true);
print_r($result);
package main

import (
	"bytes"
	"fmt"
	"io"
	"net/http"
)

func main() {
	body := []byte(`{
    "product": "premium_gift",
    "target": "@someuser",
    "months": 3,
    "client_reference": "tg-77"
}`)
	req, _ := http.NewRequest("POST", "https://api.ddboost.com/sandbox/v1/telegram/orders", bytes.NewBuffer(body))
	req.Header.Set("Authorization", "Bearer YOUR_API_KEY")
	req.Header.Set("Content-Type", "application/json")
	res, err := http.DefaultClient.Do(req)
	if err != nil {
		panic(err)
	}
	defer res.Body.Close()
	out, _ := io.ReadAll(res.Body)
	fmt.Println(string(out))
}

Other bodies for this endpoint:

{
    "product": "stars",
    "target": "someuser",
    "quantity": 500,
    "client_reference": "tg-78"
}

Products: premium_gift (months), stars (quantity), premium_giveaway (months, winners), stars_giveaway (stars, winners), sponsor_funds (amount_gram). target is a Telegram username, or the channel username for giveaways. A username that does not exist is refused before you are charged (TARGET_NOT_FOUND).

Example responses (values are illustrative)

201 Created: charged and accepted

{
    "success": true,
    "data": {
        "id": "DDB7K2M9X4QWERT5YU8P1ZA3",
        "service": "telegram",
        "client_reference": "shop-1042",
        "status": "COMPLETED",
        "amount": "9400.00",
        "currency": "NGN",
        "refunded_amount": "0.00",
        "balance_before": "50000.00",
        "balance_after": "40600.00",
        "refund_balance_before": null,
        "refund_balance_after": null,
        "description": "Telegram Premium gift, 3 months",
        "created_at": "2026-11-17T09:14:03+00:00",
        "updated_at": "2026-11-17T09:14:03+00:00",
        "details": {
            "product": "premium_gift",
            "target": "someuser",
            "months": 3
        }
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}

402 Not enough balance (nothing charged)

{
    "success": false,
    "error": {
        "code": "INSUFFICIENT_BALANCE",
        "message": "Your balance is too low for this order."
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}

422 The Telegram username does not exist (nothing charged)

{
    "success": false,
    "error": {
        "code": "TARGET_NOT_FOUND",
        "message": "That Telegram username does not exist.",
        "fields": {
            "target": [
                "Not found."
            ]
        }
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}

409 Same client_reference, different body

{
    "success": false,
    "error": {
        "code": "IDEMPOTENCY_CONFLICT",
        "message": "This client_reference was already used for a different request. Use a new reference for a new order."
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}

Real user engagement

Likes, comments, follows, views, shares and saves on Instagram, TikTok, X, Facebook and YouTube, performed by real people.

GET/{env}/v1/engagement/catalog

Every platform and task_type you can order, with price_per_unit, the min_quantity / max_quantity and, where verified-account targeting is offered, verified_price_per_unit.

Example responses (values are illustrative)

200 OK

{
    "success": true,
    "data": {
        "service": "engagement",
        "items": [
            {
                "platform": "instagram",
                "task_type": "like",
                "price_per_unit": "25.00",
                "min_quantity": 10,
                "max_quantity": 5000,
                "verified_price_per_unit": "40.00"
            }
        ]
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}
POST/{env}/v1/engagement/quote

Example responses (values are illustrative)

200 OK

{
    "success": true,
    "data": {
        "service": "engagement",
        "description": "Instagram likes x100",
        "amount": "2500.00",
        "currency": "NGN",
        "normal_amount": "2500.00"
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}

422 Validation failed (nothing charged)

{
    "success": false,
    "error": {
        "code": "VALIDATION_FAILED",
        "message": "quantity: Must be between 10 and 5000.",
        "fields": {
            "quantity": [
                "Must be between 10 and 5000."
            ]
        }
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}
POST/{env}/v1/engagement/orders
curl -X POST https://api.ddboost.com/sandbox/v1/engagement/orders \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
      "platform": "instagram",
      "task_type": "like",
      "post_url": "https://www.instagram.com/p/CxYz123AbCd/",
      "quantity": 100,
      "client_reference": "eng-501"
  }'
const response = await fetch("https://api.ddboost.com/sandbox/v1/engagement/orders", {
  method: "POST",
  headers: {
    "Authorization": "Bearer YOUR_API_KEY",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
      "platform": "instagram",
      "task_type": "like",
      "post_url": "https://www.instagram.com/p/CxYz123AbCd/",
      "quantity": 100,
      "client_reference": "eng-501"
  }),
});
const result = await response.json();
console.log(result);
import requests

response = requests.post(
    "https://api.ddboost.com/sandbox/v1/engagement/orders",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
    json={
        "platform": "instagram",
        "task_type": "like",
        "post_url": "https://www.instagram.com/p/CxYz123AbCd/",
        "quantity": 100,
        "client_reference": "eng-501"
    },
)
print(response.json())
$ch = curl_init("https://api.ddboost.com/sandbox/v1/engagement/orders");
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_CUSTOMREQUEST => "POST",
    CURLOPT_HTTPHEADER => [
        "Authorization: Bearer YOUR_API_KEY",
        "Content-Type: application/json",
    ],
    CURLOPT_POSTFIELDS => json_encode([
        'platform' => 'instagram',
        'task_type' => 'like',
        'post_url' => 'https://www.instagram.com/p/CxYz123AbCd/',
        'quantity' => 100,
        'client_reference' => 'eng-501',
    ]),
]);
$result = json_decode(curl_exec($ch), true);
print_r($result);
package main

import (
	"bytes"
	"fmt"
	"io"
	"net/http"
)

func main() {
	body := []byte(`{
    "platform": "instagram",
    "task_type": "like",
    "post_url": "https://www.instagram.com/p/CxYz123AbCd/",
    "quantity": 100,
    "client_reference": "eng-501"
}`)
	req, _ := http.NewRequest("POST", "https://api.ddboost.com/sandbox/v1/engagement/orders", bytes.NewBuffer(body))
	req.Header.Set("Authorization", "Bearer YOUR_API_KEY")
	req.Header.Set("Content-Type", "application/json")
	res, err := http.DefaultClient.Do(req)
	if err != nil {
		panic(err)
	}
	defer res.Body.Close()
	out, _ := io.ReadAll(res.Body)
	fmt.Println(string(out))
}

Other bodies for this endpoint:

{
    "platform": "tiktok",
    "task_type": "comment",
    "post_url": "https://www.tiktok.com/@acme/video/123",
    "quantity": 2,
    "comments": "love this\nso good",
    "client_reference": "eng-502"
}

The link must be on the chosen platform and reachable. For comments send exactly quantity different comments, one per line (or as an array). Optional: verified_percent (1-100, where the catalogue offers it) and scheduled_start_at to start later. If we cannot read the account behind a post automatically, the order is refused with IDENTITY_FETCH_FAILED before anything is charged: send advertiser_identity_username and/or advertiser_identity_display_name with the order and try again (you can also send them up front).

Example responses (values are illustrative)

201 Created: charged, real people start working

{
    "success": true,
    "data": {
        "id": "DDB7K2M9X4QWERT5YU8P1ZA3",
        "service": "engagement",
        "client_reference": "shop-1042",
        "status": "processing",
        "amount": "2500.00",
        "currency": "NGN",
        "refunded_amount": "0.00",
        "balance_before": "50000.00",
        "balance_after": "47500.00",
        "refund_balance_before": null,
        "refund_balance_after": null,
        "description": "Instagram likes",
        "created_at": "2026-11-17T09:14:03+00:00",
        "updated_at": "2026-11-17T09:14:03+00:00",
        "details": {
            "platform": "instagram",
            "task_type": "like",
            "quantity": 100,
            "completed_units": 0,
            "paused": false,
            "cancellable": false
        }
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}

402 Not enough balance (nothing charged)

{
    "success": false,
    "error": {
        "code": "INSUFFICIENT_BALANCE",
        "message": "Your balance is too low for this order."
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}

422 We could not read the account behind the post (nothing charged)

{
    "success": false,
    "error": {
        "code": "IDENTITY_FETCH_FAILED",
        "message": "We could not read the account for this link. Send advertiser_identity_username and try again."
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}

422 Validation failed (nothing charged)

{
    "success": false,
    "error": {
        "code": "VALIDATION_FAILED",
        "message": "post_url: Must be a link on the chosen platform.",
        "fields": {
            "post_url": [
                "Must be a link on the chosen platform."
            ]
        }
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}

Real people carry the orders out, so an order stays processing and details.completed_units climbs towards quantity until it is completed; poll the order or use the webhook. details.paused is true while an order is on hold. An order that has stayed unfinished for several days can be given up on with POST /engagement/orders/{id}/cancel: the part not delivered is refunded to your wallet (the same order, partial or failed). The request may be reviewed by our team first, in which case the order shows details.cancellation_requested until it is decided. details.cancellable tells you whether you can ask right now. Anything that is not allowed yet returns 409 NOT_CANCELLABLE.

Example responses (values are illustrative)

200 OK: the part not delivered is refunded on the same order

{
    "success": true,
    "data": {
        "id": "DDB7K2M9X4QWERT5YU8P1ZA3",
        "service": "engagement",
        "client_reference": "shop-1042",
        "status": "partial",
        "amount": "2500.00",
        "currency": "NGN",
        "refunded_amount": "1500.00",
        "balance_before": "50000.00",
        "balance_after": "47500.00",
        "refund_balance_before": "47500.00",
        "refund_balance_after": "49000.00",
        "description": "Instagram likes",
        "created_at": "2026-11-17T09:14:03+00:00",
        "updated_at": "2026-11-17T09:14:03+00:00",
        "details": {
            "platform": "instagram",
            "task_type": "like",
            "quantity": 100,
            "completed_units": 40,
            "paused": false,
            "cancellable": false
        }
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}

409 Cannot be cancelled right now (nothing changes)

{
    "success": false,
    "error": {
        "code": "NOT_CANCELLABLE",
        "message": "A code was already received, so this order can no longer be cancelled."
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}

404 No such order (or not yours)

{
    "success": false,
    "error": {
        "code": "ORDER_NOT_FOUND",
        "message": "No such order."
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}

Email accounts

Buy ready-to-use email accounts and receive the login details in the order.

GET/{env}/v1/emails/catalog

Example responses (values are illustrative)

200 OK

{
    "success": true,
    "data": {
        "service": "emails",
        "items": [
            {
                "id": 12,
                "name": "Outlook accounts",
                "category": "Outlook",
                "price": "800.00",
                "in_stock": 140
            }
        ]
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}
POST/{env}/v1/emails/orders
curl -X POST https://api.ddboost.com/sandbox/v1/emails/orders \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
      "product": 12,
      "quantity": 5,
      "client_reference": "mail-2001"
  }'
const response = await fetch("https://api.ddboost.com/sandbox/v1/emails/orders", {
  method: "POST",
  headers: {
    "Authorization": "Bearer YOUR_API_KEY",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
      "product": 12,
      "quantity": 5,
      "client_reference": "mail-2001"
  }),
});
const result = await response.json();
console.log(result);
import requests

response = requests.post(
    "https://api.ddboost.com/sandbox/v1/emails/orders",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
    json={
        "product": 12,
        "quantity": 5,
        "client_reference": "mail-2001"
    },
)
print(response.json())
$ch = curl_init("https://api.ddboost.com/sandbox/v1/emails/orders");
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_CUSTOMREQUEST => "POST",
    CURLOPT_HTTPHEADER => [
        "Authorization: Bearer YOUR_API_KEY",
        "Content-Type: application/json",
    ],
    CURLOPT_POSTFIELDS => json_encode([
        'product' => 12,
        'quantity' => 5,
        'client_reference' => 'mail-2001',
    ]),
]);
$result = json_decode(curl_exec($ch), true);
print_r($result);
package main

import (
	"bytes"
	"fmt"
	"io"
	"net/http"
)

func main() {
	body := []byte(`{
    "product": 12,
    "quantity": 5,
    "client_reference": "mail-2001"
}`)
	req, _ := http.NewRequest("POST", "https://api.ddboost.com/sandbox/v1/emails/orders", bytes.NewBuffer(body))
	req.Header.Set("Authorization", "Bearer YOUR_API_KEY")
	req.Header.Set("Content-Type", "application/json")
	res, err := http.DefaultClient.Do(req)
	if err != nil {
		panic(err)
	}
	defer res.Body.Close()
	out, _ := io.ReadAll(res.Body)
	fmt.Println(string(out))
}

Buying accounts takes a little while, so the order starts as PENDING and moves to ACTIVE when the accounts are delivered. Poll the order or use the webhook. The delivered accounts are in details.accounts (email, password and any tokens the product needs). If the accounts cannot be delivered, the order becomes FAILED and is refunded in full.

Example responses (values are illustrative)

201 Created: charged, accounts are being prepared

{
    "success": true,
    "data": {
        "id": "DDB7K2M9X4QWERT5YU8P1ZA3",
        "service": "emails",
        "client_reference": "shop-1042",
        "status": "PENDING",
        "amount": "4000.00",
        "currency": "NGN",
        "refunded_amount": "0.00",
        "balance_before": "50000.00",
        "balance_after": "46000.00",
        "refund_balance_before": null,
        "refund_balance_after": null,
        "description": "Outlook accounts x5",
        "created_at": "2026-11-17T09:14:03+00:00",
        "updated_at": "2026-11-17T09:14:03+00:00",
        "details": {
            "product": 12,
            "quantity": 5
        }
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}

200 Later, fetched again: delivered

{
    "success": true,
    "data": {
        "id": "DDB7K2M9X4QWERT5YU8P1ZA3",
        "service": "emails",
        "client_reference": "shop-1042",
        "status": "ACTIVE",
        "amount": "4000.00",
        "currency": "NGN",
        "refunded_amount": "0.00",
        "balance_before": "50000.00",
        "balance_after": "46000.00",
        "refund_balance_before": null,
        "refund_balance_after": null,
        "description": "Outlook accounts x5",
        "created_at": "2026-11-17T09:14:03+00:00",
        "updated_at": "2026-11-17T09:14:03+00:00",
        "details": {
            "product": 12,
            "quantity": 5,
            "delivered": 5,
            "accounts": [
                {
                    "email": "name1@example.com",
                    "password": "EXAMPLE-PASSWORD"
                }
            ]
        }
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}

402 Not enough balance (nothing charged)

{
    "success": false,
    "error": {
        "code": "INSUFFICIENT_BALANCE",
        "message": "Your balance is too low for this order."
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}

422 Not enough stock (nothing charged)

{
    "success": false,
    "error": {
        "code": "OUT_OF_STOCK",
        "message": "Not enough accounts in stock for this quantity."
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}

Gift cards

Buy digital gift cards from popular brands and receive the code in the order.

GET/{env}/v1/giftcards/catalog?country=US

Without country you get the list of countries; with it, that country's cards (product id, fixed amounts or a min_amount/max_amount range, currency). GET /giftcards/catalog?type=dollarcard lists our virtual dollar cards. They are ordinary gift card products: quote and order them with the same calls, using their product id.

Example responses (values are illustrative)

200 OK (with ?country=US)

{
    "success": true,
    "data": {
        "service": "giftcards",
        "items": [
            {
                "product": 12345,
                "name": "Amazon US",
                "currency": "USD",
                "amounts": [
                    10,
                    25,
                    50
                ],
                "min_amount": null,
                "max_amount": null
            }
        ]
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}
POST/{env}/v1/giftcards/quote
curl -X POST https://api.ddboost.com/sandbox/v1/giftcards/quote \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
      "product": 12345,
      "amount": 25,
      "quantity": 1
  }'
const response = await fetch("https://api.ddboost.com/sandbox/v1/giftcards/quote", {
  method: "POST",
  headers: {
    "Authorization": "Bearer YOUR_API_KEY",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
      "product": 12345,
      "amount": 25,
      "quantity": 1
  }),
});
const result = await response.json();
console.log(result);
import requests

response = requests.post(
    "https://api.ddboost.com/sandbox/v1/giftcards/quote",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
    json={
        "product": 12345,
        "amount": 25,
        "quantity": 1
    },
)
print(response.json())
$ch = curl_init("https://api.ddboost.com/sandbox/v1/giftcards/quote");
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_CUSTOMREQUEST => "POST",
    CURLOPT_HTTPHEADER => [
        "Authorization: Bearer YOUR_API_KEY",
        "Content-Type: application/json",
    ],
    CURLOPT_POSTFIELDS => json_encode([
        'product' => 12345,
        'amount' => 25,
        'quantity' => 1,
    ]),
]);
$result = json_decode(curl_exec($ch), true);
print_r($result);
package main

import (
	"bytes"
	"fmt"
	"io"
	"net/http"
)

func main() {
	body := []byte(`{
    "product": 12345,
    "amount": 25,
    "quantity": 1
}`)
	req, _ := http.NewRequest("POST", "https://api.ddboost.com/sandbox/v1/giftcards/quote", bytes.NewBuffer(body))
	req.Header.Set("Authorization", "Bearer YOUR_API_KEY")
	req.Header.Set("Content-Type", "application/json")
	res, err := http.DefaultClient.Do(req)
	if err != nil {
		panic(err)
	}
	defer res.Body.Close()
	out, _ := io.ReadAll(res.Body)
	fmt.Println(string(out))
}

Example responses (values are illustrative)

200 OK

{
    "success": true,
    "data": {
        "service": "giftcards",
        "description": "Amazon US $25",
        "amount": "38250.00",
        "currency": "NGN",
        "normal_amount": "39000.00"
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}

422 Validation failed (nothing charged)

{
    "success": false,
    "error": {
        "code": "VALIDATION_FAILED",
        "message": "amount: Not an amount this card is sold in.",
        "fields": {
            "amount": [
                "Not an amount this card is sold in."
            ]
        }
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}

Returns your price without charging. Place the order with the same body plus client_reference on POST /giftcards/orders. If the cards are delivered straight away the order is success and details.cards holds the codes; if it is still working the order stays pending and completes later. If the order is refused you are refunded in full. The card codes are in details.cards of the order and also in the order.completed webhook. Live use needs the verification level and Merchant account set for it (see Access & limits).

Example responses (values are illustrative)

201 Created: delivered straight away (or processing, then completed later)

{
    "success": true,
    "data": {
        "id": "DDB7K2M9X4QWERT5YU8P1ZA3",
        "service": "giftcards",
        "client_reference": "shop-1042",
        "status": "success",
        "amount": "38250.00",
        "currency": "NGN",
        "refunded_amount": "0.00",
        "balance_before": "50000.00",
        "balance_after": "11750.00",
        "refund_balance_before": null,
        "refund_balance_after": null,
        "description": "Amazon US $25",
        "created_at": "2026-11-17T09:14:03+00:00",
        "updated_at": "2026-11-17T09:14:03+00:00",
        "details": {
            "product": 12345,
            "name": "Amazon US",
            "amount": "25.00",
            "quantity": 1,
            "cards": [
                {
                    "card_number": "EXAMPLE-CARD-CODE",
                    "pin": "0000"
                }
            ]
        }
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}

402 Not enough balance (nothing charged)

{
    "success": false,
    "error": {
        "code": "INSUFFICIENT_BALANCE",
        "message": "Your balance is too low for this order."
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}

403 The account is not cleared for gift cards

{
    "success": false,
    "error": {
        "code": "KYC_TIER_TOO_LOW",
        "message": "Your verification level is too low for this service."
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}

VPN (PureVPN)

Buy or renew PureVPN subscriptions for your customers. This is the PureVPN service, not a generic VPN; the customer's PureVPN login is sent to their email.

POST/{env}/v1/vpn/orders
curl -X POST https://api.ddboost.com/sandbox/v1/vpn/orders \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
      "plan": 3,
      "email": "customer@example.com",
      "client_reference": "vpn-77"
  }'
const response = await fetch("https://api.ddboost.com/sandbox/v1/vpn/orders", {
  method: "POST",
  headers: {
    "Authorization": "Bearer YOUR_API_KEY",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
      "plan": 3,
      "email": "customer@example.com",
      "client_reference": "vpn-77"
  }),
});
const result = await response.json();
console.log(result);
import requests

response = requests.post(
    "https://api.ddboost.com/sandbox/v1/vpn/orders",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
    json={
        "plan": 3,
        "email": "customer@example.com",
        "client_reference": "vpn-77"
    },
)
print(response.json())
$ch = curl_init("https://api.ddboost.com/sandbox/v1/vpn/orders");
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_CUSTOMREQUEST => "POST",
    CURLOPT_HTTPHEADER => [
        "Authorization: Bearer YOUR_API_KEY",
        "Content-Type: application/json",
    ],
    CURLOPT_POSTFIELDS => json_encode([
        'plan' => 3,
        'email' => 'customer@example.com',
        'client_reference' => 'vpn-77',
    ]),
]);
$result = json_decode(curl_exec($ch), true);
print_r($result);
package main

import (
	"bytes"
	"fmt"
	"io"
	"net/http"
)

func main() {
	body := []byte(`{
    "plan": 3,
    "email": "customer@example.com",
    "client_reference": "vpn-77"
}`)
	req, _ := http.NewRequest("POST", "https://api.ddboost.com/sandbox/v1/vpn/orders", bytes.NewBuffer(body))
	req.Header.Set("Authorization", "Bearer YOUR_API_KEY")
	req.Header.Set("Content-Type", "application/json")
	res, err := http.DefaultClient.Do(req)
	if err != nil {
		panic(err)
	}
	defer res.Body.Close()
	out, _ := io.ReadAll(res.Body)
	fmt.Println(string(out))
}

email is your end customer's email: the login is sent there, so no password appears in the order. If that email already has an account it is renewed and keeps its login. The order starts as pending and becomes active once it is confirmed. If it cannot be confirmed straight away, the order stays pending while our team checks it; it is not refunded automatically.

Example responses (values are illustrative)

201 Created: charged, the customer's PureVPN login is emailed to them

{
    "success": true,
    "data": {
        "id": "DDB7K2M9X4QWERT5YU8P1ZA3",
        "service": "vpn",
        "client_reference": "shop-1042",
        "status": "pending",
        "amount": "6500.00",
        "currency": "NGN",
        "refunded_amount": "0.00",
        "balance_before": "50000.00",
        "balance_after": "43500.00",
        "refund_balance_before": null,
        "refund_balance_after": null,
        "description": "PureVPN, 3 months",
        "created_at": "2026-11-17T09:14:03+00:00",
        "updated_at": "2026-11-17T09:14:03+00:00",
        "details": {
            "plan": 3,
            "email": "customer@example.com"
        }
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}

402 Not enough balance (nothing charged)

{
    "success": false,
    "error": {
        "code": "INSUFFICIENT_BALANCE",
        "message": "Your balance is too low for this order."
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}

422 Validation failed (nothing charged)

{
    "success": false,
    "error": {
        "code": "VALIDATION_FAILED",
        "message": "plan: Not a plan we sell.",
        "fields": {
            "plan": [
                "Not a plan we sell."
            ]
        }
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}

Virtual numbers

Get a temporary phone number to receive a verification SMS, or rent one for longer. There are two catalogues, chosen with provider: standard (the default and our recommendation: numeric country ids and service codes such as wa, activations and rentals) and legacy (country, service and operator names such as russia, activations only). WhatsApp, Telegram and Google numbers are only sold on the standard catalogue; asking for them on legacy returns 422 NOT_AVAILABLE_ON_LEGACY.

GET/{env}/v1/numbers/catalog?service=wa

Without service you get the service list; with it, the countries that have numbers in stock for that service, with your price. Add &type=rental&country=187 for the rental lengths (hours) and prices. ?provider=legacy lists the legacy catalogue's services and countries; add &service=instagram&country=russia for its operators and prices.

Example responses (values are illustrative)

200 OK (with ?service=wa)

{
    "success": true,
    "data": {
        "service": "numbers",
        "items": [
            {
                "country": 187,
                "name": "United States",
                "price": "1650.00",
                "in_stock": 48
            }
        ]
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}
POST/{env}/v1/numbers/orders
curl -X POST https://api.ddboost.com/sandbox/v1/numbers/orders \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
      "service": "wa",
      "country": 187,
      "client_reference": "num-5"
  }'
const response = await fetch("https://api.ddboost.com/sandbox/v1/numbers/orders", {
  method: "POST",
  headers: {
    "Authorization": "Bearer YOUR_API_KEY",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
      "service": "wa",
      "country": 187,
      "client_reference": "num-5"
  }),
});
const result = await response.json();
console.log(result);
import requests

response = requests.post(
    "https://api.ddboost.com/sandbox/v1/numbers/orders",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
    json={
        "service": "wa",
        "country": 187,
        "client_reference": "num-5"
    },
)
print(response.json())
$ch = curl_init("https://api.ddboost.com/sandbox/v1/numbers/orders");
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_CUSTOMREQUEST => "POST",
    CURLOPT_HTTPHEADER => [
        "Authorization: Bearer YOUR_API_KEY",
        "Content-Type: application/json",
    ],
    CURLOPT_POSTFIELDS => json_encode([
        'service' => 'wa',
        'country' => 187,
        'client_reference' => 'num-5',
    ]),
]);
$result = json_decode(curl_exec($ch), true);
print_r($result);
package main

import (
	"bytes"
	"fmt"
	"io"
	"net/http"
)

func main() {
	body := []byte(`{
    "service": "wa",
    "country": 187,
    "client_reference": "num-5"
}`)
	req, _ := http.NewRequest("POST", "https://api.ddboost.com/sandbox/v1/numbers/orders", bytes.NewBuffer(body))
	req.Header.Set("Authorization", "Bearer YOUR_API_KEY")
	req.Header.Set("Content-Type", "application/json")
	res, err := http.DefaultClient.Do(req)
	if err != nil {
		panic(err)
	}
	defer res.Body.Close()
	out, _ := io.ReadAll(res.Body)
	fmt.Println(string(out))
}

Other bodies for this endpoint:

{
    "type": "rental",
    "service": "wa",
    "country": 187,
    "duration_hours": 24,
    "client_reference": "num-6"
}

{
    "provider": "legacy",
    "service": "instagram",
    "country": "russia",
    "operator": "any",
    "client_reference": "num-7"
}

You pick the service, country and (for a rental) the length; the price is always worked out by us (any price you send is ignored). The number is bought in the background, so the order starts as PENDING and details.number appears within seconds (status RECEIVED). When the SMS arrives details.messages holds the code. An activation that gets no SMS within 25 minutes is refunded automatically. A rental keeps its number until details.expires_at and can receive several SMS; it is not refunded for lack of SMS, so cancel it early if you do not need it.

Example responses (values are illustrative)

201 Created: charged, the number is being bought (details.number is filled within seconds)

{
    "success": true,
    "data": {
        "id": "DDB7K2M9X4QWERT5YU8P1ZA3",
        "service": "numbers",
        "client_reference": "shop-1042",
        "status": "PENDING",
        "amount": "1650.00",
        "currency": "NGN",
        "refunded_amount": "0.00",
        "balance_before": "50000.00",
        "balance_after": "48350.00",
        "refund_balance_before": null,
        "refund_balance_after": null,
        "description": "WhatsApp number (country 187)",
        "created_at": "2026-11-17T09:14:03+00:00",
        "updated_at": "2026-11-17T09:14:03+00:00",
        "details": {
            "type": "activation",
            "provider": "standard",
            "service": "wa",
            "country": "187",
            "number": null,
            "number_status": "PENDING",
            "cancellable": false,
            "messages_received": 0,
            "messages": []
        }
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}

402 Not enough balance (nothing charged)

{
    "success": false,
    "error": {
        "code": "INSUFFICIENT_BALANCE",
        "message": "Your balance is too low for this order."
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}

422 Out of stock for that country (nothing charged)

{
    "success": false,
    "error": {
        "code": "OUT_OF_STOCK",
        "message": "No numbers are available for this country right now."
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}

422 Not sold on the legacy catalogue

{
    "success": false,
    "error": {
        "code": "NOT_AVAILABLE_ON_LEGACY",
        "message": "WhatsApp, Telegram and Google numbers are only sold on the standard catalogue."
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}
POST/{env}/v1/numbers/orders/{id}/cancel

Cancels an order that has not received a code yet and refunds it in full (the same order row; the response to your cancel call is the confirmation, so no webhook is sent for it). Allowed from 2 minutes after purchase; legacy-catalogue numbers can be cancelled for up to 30 minutes. If a code was already received, the number is still being allocated, or it already ended, you get 409 NOT_CANCELLABLE and nothing changes. Cancellations have their own allowance for the API, separate from the website: up to 300 number cancellations every 7 days. The allowance can change, so read your own figures from cancellations.numbers on GET /account (used, limit, remaining, resets_at). The cancellation that uses up the allowance still refunds the order normally, and a small fixed fee is also taken from your wallet when it can cover it, so do not cancel and re-buy in a loop. Your current count is also on the Orders page of the dashboard when you filter by Virtual numbers. details.cancellable tells you whether an order can be cancelled right now.

Example responses (values are illustrative)

200 OK: refunded in full on the same order

{
    "success": true,
    "data": {
        "id": "DDB7K2M9X4QWERT5YU8P1ZA3",
        "service": "numbers",
        "client_reference": "shop-1042",
        "status": "CANCELED",
        "amount": "1650.00",
        "currency": "NGN",
        "refunded_amount": "1650.00",
        "balance_before": "50000.00",
        "balance_after": "48350.00",
        "refund_balance_before": "48350.00",
        "refund_balance_after": "50000.00",
        "description": "WhatsApp number (country 187)",
        "created_at": "2026-11-17T09:14:03+00:00",
        "updated_at": "2026-11-17T09:14:03+00:00",
        "details": {
            "type": "activation",
            "provider": "standard",
            "service": "wa",
            "country": "187",
            "number": "+15551234567",
            "number_status": "CANCELED",
            "cancellable": false,
            "messages_received": 0,
            "expires_at": "2026-11-17T09:39:03+00:00",
            "messages": []
        }
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}

409 Cannot be cancelled right now (nothing changes)

{
    "success": false,
    "error": {
        "code": "NOT_CANCELLABLE",
        "message": "A code was already received, so this order can no longer be cancelled."
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}

404 No such order (or not yours)

{
    "success": false,
    "error": {
        "code": "ORDER_NOT_FOUND",
        "message": "No such order."
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}

Airtime, data and bill payments (VTU)

Top up airtime and data, and pay electricity, cable TV and exam pins for your customers.

GET/{env}/v1/vtu/catalog?network=mtn

Networks: mtn, airtel, glo, 9mobile. With network you also get that network's data plans and your price. Without network the response also lists the electricity companies, cable TV and education services. ?service=dstv (or jamb, waec ...) lists the bouquets / products with your price.

Example responses (values are illustrative)

200 OK (with ?network=mtn)

{
    "success": true,
    "data": {
        "service": "vtu",
        "items": [
            {
                "network": "mtn",
                "plans": [
                    {
                        "plan": "mtn-1gb-30d",
                        "name": "MTN 1GB, 30 days",
                        "price": "490.00"
                    }
                ]
            }
        ]
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}
POST/{env}/v1/vtu/orders
curl -X POST https://api.ddboost.com/sandbox/v1/vtu/orders \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
      "type": "airtime",
      "network": "mtn",
      "phone": "08031234567",
      "amount": 500,
      "client_reference": "t-1"
  }'
const response = await fetch("https://api.ddboost.com/sandbox/v1/vtu/orders", {
  method: "POST",
  headers: {
    "Authorization": "Bearer YOUR_API_KEY",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
      "type": "airtime",
      "network": "mtn",
      "phone": "08031234567",
      "amount": 500,
      "client_reference": "t-1"
  }),
});
const result = await response.json();
console.log(result);
import requests

response = requests.post(
    "https://api.ddboost.com/sandbox/v1/vtu/orders",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
    json={
        "type": "airtime",
        "network": "mtn",
        "phone": "08031234567",
        "amount": 500,
        "client_reference": "t-1"
    },
)
print(response.json())
$ch = curl_init("https://api.ddboost.com/sandbox/v1/vtu/orders");
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_CUSTOMREQUEST => "POST",
    CURLOPT_HTTPHEADER => [
        "Authorization: Bearer YOUR_API_KEY",
        "Content-Type: application/json",
    ],
    CURLOPT_POSTFIELDS => json_encode([
        'type' => 'airtime',
        'network' => 'mtn',
        'phone' => '08031234567',
        'amount' => 500,
        'client_reference' => 't-1',
    ]),
]);
$result = json_decode(curl_exec($ch), true);
print_r($result);
package main

import (
	"bytes"
	"fmt"
	"io"
	"net/http"
)

func main() {
	body := []byte(`{
    "type": "airtime",
    "network": "mtn",
    "phone": "08031234567",
    "amount": 500,
    "client_reference": "t-1"
}`)
	req, _ := http.NewRequest("POST", "https://api.ddboost.com/sandbox/v1/vtu/orders", bytes.NewBuffer(body))
	req.Header.Set("Authorization", "Bearer YOUR_API_KEY")
	req.Header.Set("Content-Type", "application/json")
	res, err := http.DefaultClient.Do(req)
	if err != nil {
		panic(err)
	}
	defer res.Body.Close()
	out, _ := io.ReadAll(res.Body)
	fmt.Println(string(out))
}

Other bodies for this endpoint:

{
    "type": "data",
    "network": "mtn",
    "phone": "08031234567",
    "plan": "mtn-1gb-30d",
    "client_reference": "t-2"
}

{
    "type": "electricity",
    "service": "ikeja-electric",
    "meter_type": "prepaid",
    "meter_number": "04123456789",
    "amount": 5000,
    "client_reference": "t-3"
}

{
    "type": "cable",
    "service": "dstv",
    "smartcard_number": "7012345678",
    "plan": "dstv-padi",
    "subscription_type": "change",
    "client_reference": "t-4"
}

{
    "type": "education",
    "service": "waec",
    "plan": "waecdirect",
    "quantity": 2,
    "client_reference": "t-5"
}

{
    "type": "education",
    "service": "jamb",
    "plan": "utme-mock",
    "profile_id": "1234567890",
    "client_reference": "t-6"
}

The request waits a few seconds for an instant result. If it is confirmed straight away, the order is completed in the response; if it is still working, the order stays pending and finishes by webhook or when you poll. A failed order is refunded in full. For electricity, cable and JAMB we check the meter / smartcard / profile number first and refuse a wrong one before any money moves (422, field named). Electricity amounts are from 1000 to 500000; cable is one subscription per order: subscription_type is change (the bouquet price) or renew (DSTV and GOtv only; it pays exactly the renewal amount due for that decoder, and if none is available you get 422 RENEWAL_UNAVAILABLE); for showmax the smartcard_number is the subscriber's mobile number; WAEC allows up to 10 PINs per order, other education products up to 50, JAMB one. Your electricity token and exam PINs are in details.codes when you GET the order, and also in the order.completed webhook. Live use needs the verification level and Merchant account set for it (see Access & limits).

Example responses (values are illustrative)

201 Created: confirmed straight away (airtime). If still working it is processing and finishes later

{
    "success": true,
    "data": {
        "id": "DDB5N8R2C6HJKLP4WQ7ZT9XY",
        "service": "vtu",
        "client_reference": "shop-1043",
        "status": "completed",
        "amount": "490.00",
        "currency": "NGN",
        "refunded_amount": "0.00",
        "balance_before": "50000.00",
        "balance_after": "49510.00",
        "refund_balance_before": null,
        "refund_balance_after": null,
        "description": "MTN airtime 500",
        "created_at": "2026-11-17T09:14:03+00:00",
        "updated_at": "2026-11-17T09:14:03+00:00",
        "details": {
            "description": "MTN AIRTIME 500 FOR 08031234567",
            "recipient": "08031234567",
            "face_value": "500.00"
        }
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}

201 Electricity: the token is in details.codes, on the order read and in the order.completed webhook

{
    "success": true,
    "data": {
        "id": "DDB3M7Q1V5BNHGF8XR2KC6ZA",
        "service": "vtu",
        "client_reference": "shop-1044",
        "status": "completed",
        "amount": "4900.00",
        "currency": "NGN",
        "refunded_amount": "0.00",
        "balance_before": "50000.00",
        "balance_after": "45100.00",
        "refund_balance_before": null,
        "refund_balance_after": null,
        "description": "Ikeja Electric prepaid",
        "created_at": "2026-11-17T09:14:03+00:00",
        "updated_at": "2026-11-17T09:14:03+00:00",
        "details": {
            "description": "IKEJA ELECTRIC PREPAID",
            "recipient": "04123456789",
            "face_value": "5000.00",
            "customer_name": "A. CUSTOMER",
            "meter_type": "prepaid",
            "codes": [
                {
                    "token": "0000-0000-0000-0000-0000"
                }
            ]
        }
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}

402 Not enough balance (nothing charged)

{
    "success": false,
    "error": {
        "code": "INSUFFICIENT_BALANCE",
        "message": "Your balance is too low for this order."
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}

422 Validation failed (nothing charged)

{
    "success": false,
    "error": {
        "code": "VALIDATION_FAILED",
        "message": "meter_number: We could not find this meter.",
        "fields": {
            "meter_number": [
                "We could not find this meter."
            ]
        }
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}

Email activations (one address, one message)

Get a one-time email address for a chosen website and receive its verification message.

GET/{env}/v1/emails/catalog?site=facebook.com

The email domains in stock for a website, with your price. ?sites=1 lists known websites.

POST/{env}/v1/emails/orders
curl -X POST https://api.ddboost.com/sandbox/v1/emails/orders \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
      "site": "facebook.com",
      "domain": "gmail.com",
      "client_reference": "act-9"
  }'
const response = await fetch("https://api.ddboost.com/sandbox/v1/emails/orders", {
  method: "POST",
  headers: {
    "Authorization": "Bearer YOUR_API_KEY",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
      "site": "facebook.com",
      "domain": "gmail.com",
      "client_reference": "act-9"
  }),
});
const result = await response.json();
console.log(result);
import requests

response = requests.post(
    "https://api.ddboost.com/sandbox/v1/emails/orders",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
    json={
        "site": "facebook.com",
        "domain": "gmail.com",
        "client_reference": "act-9"
    },
)
print(response.json())
$ch = curl_init("https://api.ddboost.com/sandbox/v1/emails/orders");
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_CUSTOMREQUEST => "POST",
    CURLOPT_HTTPHEADER => [
        "Authorization: Bearer YOUR_API_KEY",
        "Content-Type: application/json",
    ],
    CURLOPT_POSTFIELDS => json_encode([
        'site' => 'facebook.com',
        'domain' => 'gmail.com',
        'client_reference' => 'act-9',
    ]),
]);
$result = json_decode(curl_exec($ch), true);
print_r($result);
package main

import (
	"bytes"
	"fmt"
	"io"
	"net/http"
)

func main() {
	body := []byte(`{
    "site": "facebook.com",
    "domain": "gmail.com",
    "client_reference": "act-9"
}`)
	req, _ := http.NewRequest("POST", "https://api.ddboost.com/sandbox/v1/emails/orders", bytes.NewBuffer(body))
	req.Header.Set("Authorization", "Bearer YOUR_API_KEY")
	req.Header.Set("Content-Type", "application/json")
	res, err := http.DefaultClient.Do(req)
	if err != nil {
		panic(err)
	}
	defer res.Body.Close()
	out, _ := io.ReadAll(res.Body)
	fmt.Println(string(out))
}

One order = one address. details.email is the address to register with; the verification message arrives in details.messages. Each message has the code, the text and, when the sender's mail was HTML, the full mail as html; the same data is in the order.code_received webhook. The order becomes completed. An address that gets no message within 20 minutes is refunded automatically. site is the website you want to register on, not an email provider.

Example responses (values are illustrative)

201 Created: the address and its message

{
    "success": true,
    "data": {
        "id": "DDB7K2M9X4QWERT5YU8P1ZA3",
        "service": "emails",
        "client_reference": "shop-1042",
        "status": "OK",
        "amount": "300.00",
        "currency": "NGN",
        "refunded_amount": "0.00",
        "balance_before": "50000.00",
        "balance_after": "49700.00",
        "refund_balance_before": null,
        "refund_balance_after": null,
        "description": "Email activation, facebook.com",
        "created_at": "2026-11-17T09:14:03+00:00",
        "updated_at": "2026-11-17T09:14:03+00:00",
        "details": {
            "kind": "activation",
            "site": "facebook.com",
            "domain": "gmail.com",
            "email": "x7k2@example.com",
            "activation_status": "success",
            "messages_received": 1,
            "expires_at": "2026-11-17T09:34:03+00:00",
            "messages": [
                {
                    "code": "000000",
                    "text": "Your Facebook code is 000000",
                    "html": "<p>Your Facebook code is <b>000000</b></p>",
                    "received_at": "2026-11-17T09:16:40+00:00"
                }
            ],
            "cancellable": false
        }
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}

402 Not enough balance (nothing charged)

{
    "success": false,
    "error": {
        "code": "INSUFFICIENT_BALANCE",
        "message": "Your balance is too low for this order."
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}

422 No address available for that website and domain (nothing charged)

{
    "success": false,
    "error": {
        "code": "OUT_OF_STOCK",
        "message": "No addresses are available for this site right now."
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}

Price and stock. Stock moves fast: where demand is high and stock is low, the price can rise slightly (around NGN 50) after you order. amount on the order is the total you paid. If no address can be delivered you are refunded in full.

POST/{env}/v1/emails/orders/{id}/cancel

Cancels an email activation that has not received a message yet and refunds it in full (the same order row; the response to your cancel call is the confirmation, so no webhook is sent for it). Allowed from 2 minutes after purchase (a little over 3 minutes for some addresses: details.cancellable tells you when). If a message was already received, the address is still being allocated, or the order already ended, you get 409 NOT_CANCELLABLE and nothing changes. Email cancellations have their own allowance, counted apart from numbers: up to 300 every 7 days (the same rules and the same small fee as for numbers). Your figures are in cancellations.emails on GET /account and on the Orders page when you filter by Email accounts. details.cancellable tells you whether an order can be cancelled right now. Orders for email accounts from the catalogue cannot be cancelled.

Example responses (values are illustrative)

200 OK: refunded in full on the same order

{
    "success": true,
    "data": {
        "id": "DDB7K2M9X4QWERT5YU8P1ZA3",
        "service": "emails",
        "client_reference": "shop-1042",
        "status": "CANCEL",
        "amount": "300.00",
        "currency": "NGN",
        "refunded_amount": "300.00",
        "balance_before": "50000.00",
        "balance_after": "49700.00",
        "refund_balance_before": "49700.00",
        "refund_balance_after": "50000.00",
        "description": "Email activation, facebook.com",
        "created_at": "2026-11-17T09:14:03+00:00",
        "updated_at": "2026-11-17T09:14:03+00:00",
        "details": {
            "kind": "activation",
            "site": "facebook.com",
            "domain": "gmail.com",
            "email": "x7k2@example.com",
            "activation_status": "cancel",
            "messages_received": 0,
            "expires_at": "2026-11-17T09:34:03+00:00",
            "messages": [],
            "cancellable": false
        }
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}

409 Cannot be cancelled right now (nothing changes)

{
    "success": false,
    "error": {
        "code": "NOT_CANCELLABLE",
        "message": "A code was already received, so this order can no longer be cancelled."
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}

404 No such order (or not yours)

{
    "success": false,
    "error": {
        "code": "ORDER_NOT_FOUND",
        "message": "No such order."
    },
    "request_id": "req_8f3a1c52d9e04b7a"
}

Every service also has POST /{env}/v1/{service}/quote, which prices a request without placing it.

Webhooks

Add one HTTPS endpoint in the dashboard (one per environment; you can edit or remove it) and we POST JSON to it when something happens to an order. Before an endpoint is saved, or its address changed, we send it a signed ping and it must answer HTTP 200; if it does not, you see the reason and nothing is saved. Tick the events you want when you add or edit the endpoint. There are four events: order.completed, order.failed, order.refunded and order.code_received (see Which event, and when). There are no balance events: the order object carries the wallet balance before and after (balance_before, balance_after and, for refunds, refund_balance_before, refund_balance_after), so you can check our record against yours.

The body is always the same envelope: id (the event id), type, created_at, environment and data. For order.completed, order.failed and order.refunded, data is the full order object, exactly what GET /orders/{id} returns at that moment, including everything we delivered (account logins, verification codes and messages, gift-card codes, electricity tokens, exam PINs). For order.code_received, which is not a final state, data is reduced: only the order id, service, your client_reference and details (the message that just arrived, the number or address, expiry), with no status, amount, refund or balances. Webhooks go to https addresses only, and you verify the signature to know a call came from us. Examples:

order.completed

{
    "id": "ddb_evt_8sk2a1",
    "type": "order.completed",
    "created_at": "2026-11-17T09:41:55+00:00",
    "environment": "live",
    "data": {
        "id": "DDB7K2M9X4QWERT5YU8P1ZA3",
        "service": "smm",
        "client_reference": "shop-1042",
        "status": "completed",
        "amount": "1850.00",
        "currency": "NGN",
        "refunded_amount": "0.00",
        "balance_before": "50000.00",
        "balance_after": "48150.00",
        "refund_balance_before": null,
        "refund_balance_after": null,
        "description": "Instagram Followers",
        "created_at": "2026-11-17T09:14:03+00:00",
        "updated_at": "2026-11-17T09:14:03+00:00",
        "details": {
            "service": 1204,
            "link": "https://instagram.com/acme",
            "quantity": 1000,
            "remains": 0
        }
    }
}

order.failed (the order could not be fulfilled and was refunded in full; there is no separate order.refunded)

{
    "id": "ddb_evt_8sk2b2",
    "type": "order.failed",
    "created_at": "2026-11-17T09:41:55+00:00",
    "environment": "live",
    "data": {
        "id": "DDB7K2M9X4QWERT5YU8P1ZA3",
        "service": "smm",
        "client_reference": "shop-1042",
        "status": "canceled",
        "amount": "1850.00",
        "currency": "NGN",
        "refunded_amount": "1850.00",
        "balance_before": "50000.00",
        "balance_after": "48150.00",
        "refund_balance_before": "48150.00",
        "refund_balance_after": "50000.00",
        "description": "Instagram Followers",
        "created_at": "2026-11-17T09:14:03+00:00",
        "updated_at": "2026-11-17T09:14:03+00:00",
        "details": {
            "service": 1204,
            "link": "https://instagram.com/acme",
            "quantity": 1000
        }
    }
}

order.refunded (money went back after the fact: we cancelled or refunded the order by hand, or added a refund to an order that had completed)

{
    "id": "ddb_evt_8sk2c3",
    "type": "order.refunded",
    "created_at": "2026-11-17T09:41:55+00:00",
    "environment": "live",
    "data": {
        "id": "DDB7K2M9X4QWERT5YU8P1ZA3",
        "service": "smm",
        "client_reference": "shop-1042",
        "status": "partial",
        "amount": "1850.00",
        "currency": "NGN",
        "refunded_amount": "700.00",
        "balance_before": "50000.00",
        "balance_after": "48150.00",
        "refund_balance_before": "48150.00",
        "refund_balance_after": "48850.00",
        "description": "Instagram Followers",
        "created_at": "2026-11-17T09:14:03+00:00",
        "updated_at": "2026-11-17T12:02:10+00:00",
        "details": {
            "service": 1204,
            "link": "https://instagram.com/acme",
            "quantity": 1000,
            "remains": 0
        }
    }
}

order.code_received (a code or message arrived on a number, rental or email order; reduced payload; the retries for this one event are 5 seconds apart)

{
    "id": "ddb_evt_8sk2d4",
    "type": "order.code_received",
    "created_at": "2026-11-17T09:41:55+00:00",
    "environment": "live",
    "data": {
        "id": "DDB7K2M9X4QWERT5YU8P1ZA3",
        "service": "numbers",
        "client_reference": "shop-1042",
        "details": {
            "type": "activation",
            "service": "wa",
            "country": "nigeria",
            "number": "+2349012345678",
            "number_status": "RECEIVED",
            "messages_received": 1,
            "phone_from": "WhatsApp",
            "verification_type": "sms",
            "expires_at": "2026-11-17T10:05:41+00:00",
            "cancellable": false,
            "message": {
                "code": "000000",
                "text": "Your WhatsApp code: 000-000",
                "sender": "WhatsApp",
                "received_at": "2026-11-17T09:41:55+00:00"
            }
        }
    }
}

Which event, and when

What happenedWhat you receive
The order was delivered in fullorder.completed (the order's status is the product's final word, for example completed, FINISHED, OK or success)
Part was delivered and the rest refunded (for example 2 of 5)one order.completed with a refunded_amount above zero (status partial where the product has it); no order.refunded
The order could not be delivered and was refunded in fullone order.failed (the product's failed or cancelled word in status, refunded_amount equal to amount); no order.refunded
We cancel or refund an order by hand, or add a refund to an order that had completedorder.refunded (the order's status and refunded_amount show the result)
You cancel an order through the APIno webhook: the response to your cancel call is the final order
A verification message arrives on a number or email orderorder.code_received for each message, and order.completed when the order finishes. For an email activation the order finishes when it has closed after its code (status is OK); for a number when it is FINISHED (a rental, when its length is over). So order.completed always follows order.code_received

Every event has its own id. We create one event for each change, so a single change never produces two events. If a delivery is retried or you press Resend, the same event id and the same body are sent again: store the ids you have processed and ignore a repeat. refunded_amount is the total refunded so far, so set your record to it and never add it to a running total; applying an event twice then ends in the same state. Do not rely on arrival order: use the order's status and treat GET /orders/{id} as the source of truth. A request we refuse before charging anything (a validation error, not enough balance) is not an order: it only returns an error and sends no webhook.

Headers on every delivery:

HeaderValue
X-DDBoost-EventThe event type
X-DDBoost-Event-IdUnique event id. Store it to ignore duplicates.
X-DDBoost-TimestampUnix seconds when we signed it
X-DDBoost-Signaturev1= + hex HMAC-SHA256 of timestamp + "." + event_id + "." + raw_body with your endpoint secret

Verify the signature

$raw = file_get_contents('php://input');
$ts  = $_SERVER['HTTP_X_DDBOOST_TIMESTAMP'];
$id  = $_SERVER['HTTP_X_DDBOOST_EVENT_ID'];

$expected = 'v1=' . hash_hmac('sha256', $ts . '.' . $id . '.' . $raw, $endpointSecret);

if (! hash_equals($expected, $_SERVER['HTTP_X_DDBOOST_SIGNATURE']) || abs(time() - (int) $ts) > 300) {
    http_response_code(400);
    exit;
}
// rawBody must be the exact bytes received (use express.raw, not express.json)
const expected = 'v1=' + crypto
  .createHmac('sha256', secret)
  .update(`${ts}.${id}.${rawBody}`)
  .digest('hex');

const valid = signature.length === expected.length
  && crypto.timingSafeEqual(Buffer.from(expected), Buffer.from(signature));

if (!valid || Math.abs(Date.now() / 1000 - Number(ts)) > 300) {
  return res.sendStatus(400);
}
expected = "v1=" + hmac.new(
    secret.encode(),
    f"{ts}.{event_id}.".encode() + raw_body,
    hashlib.sha256,
).hexdigest()

if not hmac.compare_digest(expected, signature) or abs(time.time() - int(ts)) > 300:
    abort(400)

Sensitive data. Order responses and webhook payloads can contain sensitive information: account logins and passwords, verification codes and messages, gift-card codes, electricity tokens and exam PINs. Treat your endpoint like your API key: https only, verify the signature, limit who and what can read the data you store, and never write payload bodies to logs. If a webhook keeps failing delivery, we switch it off and email you the steps to fix it and turn it back on.

What your endpoint must do

  • Answer HTTP 200 straight away, before you process the event. Save the event id, reply 200, then do your work in the background. Any other status (including 201 or 204), an error, or no answer counts as a failed try.
  • We wait at most 15 seconds for the answer.
  • Every event is sent at once, right after the change happens. A failed delivery is then retried up to 5 more times, about 1 minute apart (a retry can come a little later), and given up after that. The one exception is order.code_received (a code arrived on a number or email order), which is only useful for a moment: it is tried 5 times in all, 5 seconds apart. If a webhook never reaches you, the order is always available with GET /orders/{id}. The attempts and the last error are listed in the dashboard under Recent deliveries.
  • Resend webhook: open a delivery in Recent deliveries (the eye button) and press Resend webhook to send the stored event again to your saved endpoint, for example after you fixed a bug on your side. It uses the same event id and body, is limited to one resend a minute for each delivery, and does not count as a try.
  • An endpoint that keeps failing is switched off; you can turn it back on in the dashboard.
  • The dashboard's Send test button sends a sample order.completed event, at most once a minute.
  • Deliveries can arrive more than once and out of order: use the event id and the order's status, and treat the order endpoint as the source of truth.
  • Redirects are not followed. Webhook URLs must be public HTTPS addresses (port 443), written with a domain name and no username or password. We always send a POST with a JSON body.
  • Deliveries are paced per account (code events are paced separately). Anything over the pace simply waits its turn: it is not lost and it does not count as a failed try.

Sandbox

The sandbox behaves like live (same validation, same prices, same order flow) but uses a separate test wallet and never places a real order. Fill the wallet from the dashboard (up to NGN 1,000,000). Orders settle after a few seconds and fire webhooks. To test failures, put a marker in any order field:

MarkerResult
sandbox-failOrder fails, full refund
sandbox-partialCompletes, half refunded
sandbox-slowTakes five minutes to settle

Errors

HTTPcodeWhat to do
400INVALID_JSON, BAD_REQUESTThe body is empty, is not valid JSON, is not one JSON object, is nested too deeply or repeats a field name. Send one JSON object.
401INVALID_API_KEYKey missing, wrong, revoked or expired.
401INVALID_SIGNATUREFix timestamp, nonce or signature.
402INSUFFICIENT_BALANCETop up your wallet (live) or fill the test wallet (sandbox).
403WRONG_ENVIRONMENT, ACCOUNT_DISABLED, IP_NOT_ALLOWED, SCOPE_NOT_ALLOWEDUse the right key and URL; check key settings and access.
403SERVICE_NOT_ENABLED, KYC_TIER_TOO_LOW, SERVICE_UNAVAILABLEThe account is not cleared for this service. See Access & limits.
404NOT_FOUND, ORDER_NOT_FOUND, SERVICE_NOT_FOUND, PRODUCT_NOT_FOUND, UNKNOWN_SERVICEWrong path or id. Another account's order looks the same as a missing one.
409IDEMPOTENCY_CONFLICT, DUPLICATE_ACTIVE_ORDERNew reference for a new order; wait for the open order.
409NOT_CANCELLABLE, CONFLICTThe order cannot be cancelled right now (details.cancellable says when), or a cancel for it is already running. Nothing changes.
422VALIDATION_FAILED, QUANTITY_OUT_OF_RANGE, LIMIT_REACHED, TARGET_NOT_FOUND, PRODUCT_UNAVAILABLE, OUT_OF_STOCK, INVALID_PRICE, NOT_AVAILABLE_ON_LEGACY, RENEWAL_UNAVAILABLE, IDENTITY_FETCH_FAILEDFix the request. error.fields lists the fields. Nothing was charged.
422CANCEL_FAILEDThe cancellation was not accepted. Try again shortly or contact support; nothing changes.
405METHOD_NOT_ALLOWEDThe method is not allowed for that path.
423API_MAINTENANCEThe API is under maintenance. Live quotes, orders and cancellations are paused and nothing is charged; reading orders, your balance and the catalogue still works, and the sandbox is not affected. Try again shortly with the same client_reference; GET /ping shows maintenance: false when orders are open again.
413PAYLOAD_TOO_LARGEThe body is bigger than the limit (256 KB). Nothing was read or charged.
415UNSUPPORTED_MEDIA_TYPESend the body as JSON, UTF-8, with Content-Type: application/json. Form bodies are not accepted.
429TOO_MANY_CONCURRENT_REQUESTSToo many reads or quotes are running at the same moment on the platform. Wait a second and retry.
429TOO_MANY_CONCURRENT_ORDERSToo many orders are running at the same moment for your account. Retry shortly with the same client_reference.
429RATE_LIMITED, TOO_MANY_FAILED_ATTEMPTS, DAILY_SPEND_CAP_REACHEDWait for Retry-After, or raise the key's cap.
500INTERNAL_ERROROur side. Retry with the same client_reference; quote the request_id if it persists.
501SERVICE_NOT_RELEASEDThis service is not available through the API yet.

Only treat a response as final when you received one. If a request times out, you do not know whether the order was placed: retry with the same client_reference (safe) or look the order up.

Security checklist

  • Keep keys on your server, in environment variables or a secret store, never in source control.
  • Add your server IPs to the key's allowlist and set a daily spend cap that matches your real volume.
  • Use separate keys per application so one can be replaced without touching the others.
  • Verify webhook signatures and check the timestamp. Ignore events you have already processed.
  • Order responses and webhook bodies contain what we delivered (logins, codes, tokens, PINs): keep them out of logs and error trackers, and show them only to the customer they belong to.
  • Turn on request signing for high-value keys.
  • Rotate keys when someone with access leaves, and at least when the dashboard reminds you.
↑↓ to moveEnter to open