BetaClaim your site

Reseller API

Register, renew and transfer .ng domains from your own platform, paid from a prepaid wallet. The same API powers our WHMCS module.

Overview

Base URL: https://hostnownow.com/api/reseller/v1. Requests and answers are JSON. Amounts are whole kobo in fields ending in Minor (100 kobo is 1 naira), always NGN.

You can sell the .ng family (.ng, .com.ng, .org.ng and the other zones on your price sheet). GET /pricing lists exactly what you can sell and what each costs you.

Everything that costs money is paid from your wallet, which you fund in the dashboard. A call your balance does not cover answers 402 and changes nothing.

Prefer a machine-readable description? The whole API is OpenAPI 3.1 at /api/reseller/v1/openapi.json.

Authentication

Send your key on every call as Authorization: Bearer <keyId>.<secret>. Create keys in the reseller dashboard; the secret is shown once and we keep only a hash of it. Revoke a key there at any time.

KeyReachesAvailable
rk_live_...The registry and your wallet.Once your account is approved.
rk_test_...The sandbox: a pretend registry and a test balance.As soon as you apply.

A key is either full access or read only. A read-only key can look things up but gets 403 on anything that charges, changes a domain, or reveals an auth code. Use one for reporting tools. We can also limit a key to your servers' IP addresses: ask support.

shell
curl -s https://hostnownow.com/api/reseller/v1/ping -H "Authorization: Bearer rk_test_xxxxxxxxxxxxxxxx.yyyyyyyyyyyyyyyy"

Sandbox

Calls made with a sandbox key never reach the registry or your wallet. They answer with the same shapes and the same error sentences as live calls, so code that works in the sandbox works live with a live key. Sandbox domains, payments, events and the webhook endpoint are all separate from live ones. Prices are your real price sheet; the money is a test balance that starts at ₦1,000,000.

The pretend registry decides by the first label of the name:

WhenThen
the first label contains "taken"availability check says taken; register answers 409
the first label contains "regfail"register is charged, fails at the registry, is refunded (502)
the first label contains "renewfail"registers fine; every renewal fails at the registry and is refunded (502)
the first label contains "xferfail"the transfer request fails at once and is refunded (502)
the first label contains "xferreject"the transfer is accepted, then rejected 2 minutes later and refunded (domain.transfer_failed)
any other transfercompletes 2 minutes after the request (domain.transfer_completed)
any other nameis available and registers at once

POST /sandbox/simulate makes an event happen now (domain.transfer_completed, domain.transfer_failed, domain.renewed, domain.renewal_failed, domain.expiring, domain.expired, wallet.low_balance), so you can try your webhook handling without waiting. Wallet auto-renew does not run in the sandbox: simulate domain.renewed or domain.renewal_failed instead. POST /sandbox/reset starts the sandbox over. Both answer 403 to a live key.

Idempotency

Register, renew and transfer charge your wallet. Give each one your own unique key, for example your order id, in an Idempotency-Key header or an idempotencyKey field. However often you send the same key, you are charged once: a repeat of a call that went through answers 200 with replay: true. If a request times out, send it again with the same key.

Without a key we use one made from the call: register:<domain>, transfer:<domain>, and renew:<domain>:<current expiry date>. Always send your own key for renewals: once a renewal went through the expiry date has moved, so a retry without a key is a new renewal and is charged again. Keys belong to your account; they never collide with another reseller's.

Sending a key again: a renewal that went through answers 200 with replay: true. A call that failed and was refunded answers 409 and says so: send a new key to try again. Any other 409 about a used key means a charge exists but the operation did not finish: contact support instead of retrying with a new key, which would charge again. Every charge shows its key as reference in GET /transactions, and its refund as refund:<key>.

Errors

A failed call answers with an HTTP status and {"error": "..."}, a sentence you can log or show. Some add fields: requiredMinor on 402, refunded when a charge was given back.

StatusMeaningWhat to do
400The request is missing something or is not valid.Fix the request.
401No key, or a key we do not know.Check the Authorization header.
402Your wallet does not cover the call. Nothing was charged.Top up, then retry.
403The account is not active, the key is read only, a live key called a sandbox endpoint, or the IP is not allowed.Use the right key.
404The domain is not on your account.Check the name.
409The name is taken or on another account, or the idempotency key was used for a call that did not finish.Read error; see Idempotency.
429Too many calls.Wait for Retry-After.
500Our fault; we have been told.Retry later with the same key.
502The registry refused or failed the operation. A charge was refunded (refunded: true).Read error; retry if it makes sense.
503The registry is not answering. Nothing was charged.Retry in a few minutes.

Rate limits

Each key may make 120 calls a minute. Beyond that we answer 429 with Retry-After: 60. Check up to 10 names in one POST /domains/check instead of one call each.

Webhooks

Add an endpoint in the reseller dashboard, one for live and one for the sandbox. It must be HTTPS on port 443 or 8443 at a public address. Choose the events it gets, or all of them. You get a signing secret (whsec_...) once; make a new one there whenever you like (the old one stops working at once).

We POST each event as JSON, with the event (the same object GET /events returns) as the body and these headers:

HeaderValue
HNN-Webhook-IdThe event id (evt_...), the same in every attempt.
HNN-Webhook-TimestampUnix seconds when this attempt was signed.
HNN-Webhook-Signaturev1= and the hex HMAC-SHA256 of the timestamp, a dot and the raw body, keyed with your signing secret.

Check the signature before you trust a delivery, and refuse one whose timestamp is more than 5 minutes away from your clock. Compute the HMAC over the body exactly as it arrived, before parsing it.

Node.js
import crypto from "node:crypto";

// rawBody: the request body exactly as it arrived (a string), before any JSON parsing.
export function verifyHnnWebhook(rawBody, headers, secret) {
  const timestamp = headers["hnn-webhook-timestamp"];
  const age = Math.abs(Date.now() / 1000 - Number(timestamp));
  if (!timestamp || !(age <= 300)) return false;
  const expected = crypto
    .createHmac("sha256", secret)
    .update(`${timestamp}.${rawBody}`)
    .digest("hex");
  const given = String(headers["hnn-webhook-signature"] || "").replace(/^v1=/, "");
  return (
    given.length === expected.length &&
    crypto.timingSafeEqual(Buffer.from(given), Buffer.from(expected))
  );
}

// Express: app.post("/hnn/webhooks", express.text({ type: "application/json" }), (req, res) => {
//   if (!verifyHnnWebhook(req.body, req.headers, process.env.HNN_WEBHOOK_SECRET)) return res.sendStatus(400);
//   const event = JSON.parse(req.body);
//   res.sendStatus(200);            // answer first...
//   handleLater(event);             // ...then do the work; skip ids you have seen
// });
PHP
<?php
$secret = getenv('HNN_WEBHOOK_SECRET');
$raw = file_get_contents('php://input');
$timestamp = $_SERVER['HTTP_HNN_WEBHOOK_TIMESTAMP'] ?? '';
$signature = preg_replace('/^v1=/', '', $_SERVER['HTTP_HNN_WEBHOOK_SIGNATURE'] ?? '');
$expected = hash_hmac('sha256', $timestamp . '.' . $raw, $secret);

if ($timestamp === '' || abs(time() - (int) $timestamp) > 300 || !hash_equals($expected, $signature)) {
    http_response_code(400);
    exit;
}

$event = json_decode($raw, true);
http_response_code(200);
// Then handle $event['type'] and skip any $event['id'] you have already seen.

Answer with any 2xx within 10 seconds, then do the work. Redirects are not followed. Anything else is tried again after 1 minute, 5 minutes, 30 minutes, 2 hours, 6 hours, 12 hours and 24 hours: 8 attempts in all, about two days. After that the delivery is marked failed; you can send it again from the dashboard, and the event stays in GET /events. Deliveries can arrive more than once and out of order: skip ids you have seen, and use created or a fresh GET /domains/{domain} when order matters.

Try your endpoint with Send test event in the dashboard or POST /webhooks/test, which delivers a webhook.test event at once and tells you what your endpoint answered.

Events

TypeWhendata
domain.registeredA registration went through at the registry.expiresAt, years, chargedMinor, autoRenew
domain.registration_failedA registration failed at the registry; the charge was refunded.reason, refunded, refundedMinor
domain.transfer_requestedA transfer in was sent to the registry and is waiting for the losing registrar.chargedMinor, autoRenew
domain.transfer_completedA transfer in completed; the domain is now managed through us.expiresAt
domain.transfer_failedA transfer in failed or was closed without completing; the charge was refunded.reason, refunded, refundedMinor
domain.renewedA domain was renewed, by an API call or by wallet auto-renew.expiresAt, years, chargedMinor, auto (true when wallet auto-renew did it)
domain.renewal_failedA wallet auto-renew attempt failed (not enough balance, or a registry error). It is tried again about daily until 30 days after expiry, unless the domain is with another registrar: then auto-renew is switched off.reason (insufficient_balance, registry_error, transferred_away, pricing_unavailable, unsupported, needs_review), expiresAt, auto, and requiredMinor, error or refunded
domain.expiringA domain is 30, 7 or 1 days from expiry.expiresAt, daysLeft, stage (30, 7 or 1), autoRenew
domain.expiredA domain passed its expiry date without being renewed.expiresAt, autoRenew
wallet.low_balanceA charge took the wallet below the low-balance threshold.balanceMinor, thresholdMinor
wallet.refundedA charge was refunded to the wallet.amountMinor, reason, note
webhook.testA test event sent from the dashboard or POST /webhooks/test.message

Every event has id, type, created, livemode, domain and data. Webhooks push them; you can also poll GET /events, oldest first. Keep the nextCursor it returns and pass it as after next time; it stays the same when nothing new happened. We keep events for 90 days.

shell
# Start from the oldest event we keep (90 days), then always pass the last nextCursor
curl -s "$API/events?after=$CURSOR&limit=100" -H "Authorization: Bearer $KEY"

Wallet auto-renew

A domain with auto-renew on is renewed for one year from your wallet before it expires, and you get domain.renewed with auto: true. We start trying 14 days before expiry (change it in the dashboard) and try about once a day until 30 days after expiry. A try that fails sends domain.renewal_failed, most often because the wallet is short: keep it funded. A failed try never keeps your money.

Each try asks the registry first. A domain that has moved to another registrar is not charged: its auto-renew is switched off and the reason is transferred_away. When the registry cannot tell us whether a renewal went through, we keep the charge until it can, then send domain.renewed or refund it with domain.renewal_failed. While a renewal of a domain is running or waiting for the registry, POST /domains/renew for that domain answers 409 and charges nothing; try again later.

Set it per domain with autoRenew on register and transfer, or later with PUT /domains/{domain}/auto-renew. Leave it out and your account default applies (set in the dashboard). Domains bought in the HostNowNow dashboard renew by invoice and are not affected.

Whatever renews, you also get domain.expiring 30, 7 and 1 days before expiry and domain.expired after, plus one email summary on days when any of your domains reaches one of those points.

Selling through WHMCS? Leave auto-renew off: WHMCS renews through the API itself, and both would charge you.

Transfers

POST /domains/transfer sends the transfer with the auth code your customer got from their current registrar and charges the transfer price. The domain is pending_transfer until the registry names us as its registrar, usually within 5 days. We check every 15 minutes and send domain.transfer_completed with the new expiry; GET /domains/{domain}?live=1 checks at once.

When the current registrar refuses, or a transfer does not move, we close it: you get domain.transfer_failed and the charge back (wallet.refunded).

A domain already on your account cannot be transferred in again (409). If one has moved to another registrar and you want it back, contact support.

The registrant

Register, transfer and contact changes take this object as registrant:

FieldTypeRequiredNotes
firstNamestringyes
lastNamestring
organizationstring
emailstringyes
phonestringyes7 to 15 digits, + allowed (E.164).
address1stringyes
address2string
citystringyes
stateProvincestring
postalCodestring
countryCodestring

API reference

Account

Keys, wallet and prices.

GET/ping

Check a key

Answers when the key is valid. Says which account, mode (live or test) and scope (full or read) the key has. The WHMCS module calls it for its connection test.

200
{
  "ok": true,
  "company": "Obi Web Services",
  "tier": "standard",
  "mode": "live",
  "scope": "full",
  "moduleVersion": "1.0.0",
  "serverTime": "2026-11-20T09:00:00.000Z"
}
GET/balance

Wallet balance

Your prepaid wallet. Every registration, renewal and transfer is paid from it. A test key reads the sandbox balance instead.

200
{
  "balanceMinor": 2500000,
  "currency": "NGN",
  "balance": "25000.00",
  "topUpUrl": "https://hostnownow.com/wallet",
  "sandbox": false
}
GET/pricing

Your price sheet

What each TLD costs you, in kobo. registerByYear and renewByYear give the total for a term of that many years; a term that is not listed costs the 1-year price times the years.

200
{
  "tier": "standard",
  "tierName": "Standard",
  "discountBp": 1000,
  "currency": "NGN",
  "tlds": [
    {
      "tld": "com.ng",
      "registerMinor": 900000,
      "renewMinor": 900000,
      "transferMinor": 900000,
      "registerByYear": {
        "1": 900000,
        "2": 1800000
      },
      "renewByYear": {
        "1": 900000,
        "2": 1800000
      },
      "minYears": 1,
      "maxYears": 10
    }
  ]
}
GET/transactions

Wallet movements

Charges, refunds and top-ups, newest first. reference is the idempotency key a charge was made with (refunds are refund:<key>), so you can match each one to your own order.

ParameterInNotes
limitqueryPage size, 50 by default, 100 at most.
cursorquerynextCursor from the previous page.
200
{
  "data": [
    {
      "id": "wtx_8sd7f6",
      "kind": "spend",
      "amountMinor": -900000,
      "balanceAfterMinor": 1600000,
      "note": "Reseller API: register obistores.com.ng (1 yr)",
      "reference": "order-1042",
      "createdAt": "2026-11-02T10:15:00.000Z"
    }
  ],
  "nextCursor": null
}
  • 400: Something in the request is missing or not valid.
GET/module-version

Latest WHMCS moduleno key needed

No key needed. The newest WHMCS module and where to download each build.

GET/openapi.json

This documentno key needed

No key needed. Import it into Postman, Insomnia or a client generator.

Domains

Check, register, renew, transfer and manage domains.

POST/domains/check

Check availability

Asks the registry itself, so names the registry restricts show as unavailable too. Up to 10 names a call.

Body fieldTypeRequiredNotes
domainstring
domainsarray of string
Request body
{
  "domains": [
    "obistores.com.ng",
    "obistores.ng"
  ]
}
200
{
  "results": [
    {
      "domain": "obistores.com.ng",
      "available": true
    },
    {
      "domain": "obistores.ng",
      "available": false
    }
  ]
}
  • 400: Something in the request is missing or not valid.
POST/domains/register

Register a domain

Charges your wallet once per idempotency key, then registers at the registry. If the registry fails, we check whether the registration happened anyway before refunding, so a retry with the same key is always safe. Without nameservers the domain uses ours.

ParameterInNotes
Idempotency-KeyheaderYour unique key for this charge (an order id works). Sending the same key again never charges twice. The body field idempotencyKey does the same and wins over the header.
Body fieldTypeRequiredNotes
domainstringyes
yearsinteger
registrantRegistrantyes
nameserversarray of string
idempotencyKeystring
autoRenewbooleanWallet auto-renew for this domain. Your account default when left out.
Request body
{
  "domain": "obistores.com.ng",
  "years": 1,
  "registrant": {
    "firstName": "Ada",
    "lastName": "Obi",
    "organization": "Obi Stores Ltd",
    "email": "ada@example.com",
    "phone": "+2348030000000",
    "address1": "12 Marina Road",
    "city": "Lagos",
    "stateProvince": "Lagos",
    "postalCode": "100001",
    "countryCode": "NG"
  },
  "nameservers": [
    "ns1.example.net",
    "ns2.example.net"
  ],
  "idempotencyKey": "order-1042",
  "autoRenew": true
}
200
{
  "ok": true,
  "domain": "obistores.com.ng",
  "status": "active",
  "expiresAt": "2027-11-02T10:15:00.000Z",
  "chargedMinor": 900000,
  "autoRenew": true
}
  • 400: Something in the request is missing or not valid.
  • 402: Your wallet does not cover the call. Nothing was charged.
  • 409: The name is taken, the domain is on another account or already on yours, a renewal of the domain is running, or the idempotency key was used for a call that did not finish. Read error.
  • 502: The registry refused or failed the operation. When a charge was taken it was refunded (refunded: true).
  • 503: The registry is not answering. Nothing was charged; try again in a few minutes.
POST/domains/renew

Renew a domain

Adds years to a domain on your account and charges your wallet once per idempotency key. Always send a key: without one the key is the domain plus its current expiry date, which moves once the renewal went through, so a retry after a success renews (and charges) again. Sending a key again replays a renewal that went through (replay: true), and answers 409 for one that failed and was refunded (send a new key). Answers 409 without charging while a wallet auto-renew of the domain is running or waiting for the registry.

ParameterInNotes
Idempotency-KeyheaderYour unique key for this charge (an order id works). Sending the same key again never charges twice. The body field idempotencyKey does the same and wins over the header.
Body fieldTypeRequiredNotes
domainstringyes
yearsinteger
idempotencyKeystring
Request body
{
  "domain": "obistores.com.ng",
  "years": 1,
  "idempotencyKey": "renewal-2027-obistores"
}
200
{
  "ok": true,
  "domain": "obistores.com.ng",
  "expiresAt": "2028-11-02T10:15:00.000Z",
  "chargedMinor": 900000
}
  • 400: Something in the request is missing or not valid.
  • 402: Your wallet does not cover the call. Nothing was charged.
  • 404: The domain is not on your account.
  • 409: The name is taken, the domain is on another account or already on yours, a renewal of the domain is running, or the idempotency key was used for a call that did not finish. Read error.
  • 502: The registry refused or failed the operation. When a charge was taken it was refunded (refunded: true).
  • 503: The registry is not answering. Nothing was charged; try again in a few minutes.
POST/domains/transfer

Transfer a domain in

Starts a transfer from another registrar with the domain's auth (EPP) code and charges the transfer price. The domain is pending_transfer until the losing registrar lets it go, usually within 5 days: you get domain.transfer_completed, or domain.transfer_failed with a refund. A domain already on your account answers 409.

ParameterInNotes
Idempotency-KeyheaderYour unique key for this charge (an order id works). Sending the same key again never charges twice. The body field idempotencyKey does the same and wins over the header.
Body fieldTypeRequiredNotes
domainstringyes
eppCodestringyes
registrantRegistrantyes
idempotencyKeystring
autoRenewboolean
Request body
{
  "domain": "obistores.com.ng",
  "eppCode": "Xy7#kP2q",
  "registrant": {
    "firstName": "Ada",
    "lastName": "Obi",
    "organization": "Obi Stores Ltd",
    "email": "ada@example.com",
    "phone": "+2348030000000",
    "address1": "12 Marina Road",
    "city": "Lagos",
    "stateProvince": "Lagos",
    "postalCode": "100001",
    "countryCode": "NG"
  },
  "idempotencyKey": "transfer-1043",
  "autoRenew": true
}
200
{
  "ok": true,
  "domain": "obistores.com.ng",
  "status": "pending_transfer",
  "chargedMinor": 900000,
  "autoRenew": true
}
  • 400: Something in the request is missing or not valid.
  • 402: Your wallet does not cover the call. Nothing was charged.
  • 409: The name is taken, the domain is on another account or already on yours, a renewal of the domain is running, or the idempotency key was used for a call that did not finish. Read error.
  • 502: The registry refused or failed the operation. When a charge was taken it was refunded (refunded: true).
  • 503: The registry is not answering. Nothing was charged; try again in a few minutes.
GET/domains

List your domains

Every domain on your account by name, including ones bought in the HostNowNow dashboard (source: dashboard). Pass nextCursor back as cursor for the next page.

ParameterInNotes
statusquery
qqueryPart of the name.
expiresBeforequeryISO date: only domains expiring before it.
limitqueryPage size, 50 by default, 100 at most.
cursorquery
200
{
  "data": [
    {
      "domain": "obistores.com.ng",
      "status": "active",
      "registeredAt": "2026-11-02T10:15:00.000Z",
      "expiresAt": "2027-11-02T10:15:00.000Z",
      "nameservers": [
        "ns1.hostnownow.com",
        "ns2.hostnownow.com"
      ],
      "registrarLock": true,
      "autoRenew": true,
      "source": "api"
    }
  ],
  "nextCursor": null
}
  • 400: Something in the request is missing or not valid.
GET/domains/{domain}

Get a domain

What we hold for the domain. With live=1 we ask the registry first and update our record (a pending transfer that the registry now shows as ours completes there and then).

ParameterInNotes
domainpath, requiredThe domain name, for example example.com.ng.
livequery1 to refresh from the registry.
200
{
  "domain": "obistores.com.ng",
  "status": "active",
  "registeredAt": "2026-11-02T10:15:00.000Z",
  "expiresAt": "2027-11-02T10:15:00.000Z",
  "nameservers": [
    "ns1.hostnownow.com",
    "ns2.hostnownow.com"
  ],
  "registrarLock": true,
  "autoRenew": true,
  "source": "api",
  "live": false
}
  • 404: The domain is not on your account.
PUT/domains/{domain}/auto-renew

Turn wallet auto-renew on or off

With auto-renew on, we renew the domain for a year from your wallet before it expires (from your account's lead time, 14 days by default) and send domain.renewed. Each try asks the registry first: a domain with another registrar is not charged and its auto-renew is switched off. Only for domains added through the API.

ParameterInNotes
domainpath, requiredThe domain name, for example example.com.ng.
Body fieldTypeRequiredNotes
enabledbooleanyes
Request body
{
  "enabled": true
}
200
{
  "ok": true,
  "domain": "obistores.com.ng",
  "autoRenew": true
}
  • 400: Something in the request is missing or not valid.
  • 404: The domain is not on your account.
  • 409: The name is taken, the domain is on another account or already on yours, a renewal of the domain is running, or the idempotency key was used for a call that did not finish. Read error.
GET/domains/{domain}/nameservers

Get nameservers

ParameterInNotes
domainpath, requiredThe domain name, for example example.com.ng.
200
{
  "domain": "obistores.com.ng",
  "nameservers": [
    "ns1.example.net",
    "ns2.example.net"
  ]
}
  • 404: The domain is not on your account.
PUT/domains/{domain}/nameservers

Change nameservers

Sets 2 to 4 nameservers at the registry.

ParameterInNotes
domainpath, requiredThe domain name, for example example.com.ng.
Body fieldTypeRequiredNotes
nameserversarray of stringyes
Request body
{
  "nameservers": [
    "ns1.example.net",
    "ns2.example.net"
  ]
}
200
{
  "ok": true,
  "domain": "obistores.com.ng",
  "nameservers": [
    "ns1.example.net",
    "ns2.example.net"
  ]
}
  • 400: Something in the request is missing or not valid.
  • 404: The domain is not on your account.
  • 502: The registry refused or failed the operation. When a charge was taken it was refunded (refunded: true).
PUT/domains/{domain}/contacts

Change the registrant

Updates the registrant at the registry where the registry allows it (registryUpdated says whether it did) and always updates our record.

ParameterInNotes
domainpath, requiredThe domain name, for example example.com.ng.
Body fieldTypeRequiredNotes
registrantRegistrantyes
Request body
{
  "registrant": {
    "firstName": "Ada",
    "lastName": "Obi",
    "organization": "Obi Stores Ltd",
    "email": "ada@example.com",
    "phone": "+2348030000000",
    "address1": "12 Marina Road",
    "city": "Lagos",
    "stateProvince": "Lagos",
    "postalCode": "100001",
    "countryCode": "NG"
  }
}
200
{
  "ok": true,
  "domain": "obistores.com.ng",
  "registryUpdated": true
}
  • 400: Something in the request is missing or not valid.
  • 404: The domain is not on your account.
  • 502: The registry refused or failed the operation. When a charge was taken it was refunded (refunded: true).
GET/domains/{domain}/epp

Get the auth (EPP) code

The code your customer needs to move the domain to another registrar. Needs a full-access key: a read-only key cannot read it.

ParameterInNotes
domainpath, requiredThe domain name, for example example.com.ng.
200
{
  "domain": "obistores.com.ng",
  "eppCode": "Xy7#kP2q"
}
  • 404: The domain is not on your account.
  • 502: The registry refused or failed the operation. When a charge was taken it was refunded (refunded: true).

Events

What happened, by polling or by webhook.

GET/events

Poll events

The events webhooks deliver, oldest first. Keep the last nextCursor and send it as after on the next call. Events from the last two seconds are held back so none is skipped; still drop any you have seen by id. A test key reads sandbox events.

ParameterInNotes
afterquerynextCursor from the previous call. Leave it out to start from the oldest event kept.
limitqueryPage size, 50 by default, 100 at most.
typequeryOnly this event type.
200
{
  "data": [
    {
      "id": "evt_3k2j1h",
      "type": "domain.transfer_completed",
      "created": "2026-11-05T08:00:00.000Z",
      "livemode": true,
      "domain": "obistores.com.ng",
      "data": {
        "expiresAt": "2027-11-02T10:15:00.000Z"
      }
    }
  ],
  "hasMore": false,
  "nextCursor": "eyJzZXEiOjQyfQ"
}
  • 400: Something in the request is missing or not valid.
POST/webhooks/test

Send a test webhook

Sends a webhook.test event to the endpoint of this key's mode right away and says what your endpoint answered. Set the endpoint up in the reseller dashboard.

200
{
  "ok": true,
  "eventId": "evt_9x8c7v",
  "deliveries": [
    {
      "deliveryId": "whd_1a2b3c",
      "status": "delivered",
      "httpStatus": 200,
      "error": null
    }
  ]
}
  • 409: The name is taken, the domain is on another account or already on yours, a renewal of the domain is running, or the idempotency key was used for a call that did not finish. Read error.

Sandbox

Test keys only.

POST/sandbox/simulate

Make a sandbox event happen now

Test keys only. Settles a pending sandbox transfer now (domain.transfer_completed or domain.transfer_failed) or sends an event for a sandbox domain, so you can try your handling without waiting. wallet.low_balance needs no domain.

Body fieldTypeRequiredNotes
typedomain.transfer_completed | domain.transfer_failed | domain.renewed | domain.renewal_failed | domain.expiring | domain.expired | wallet.low_balanceyes
domainstring
daysLeft30 | 7 | 1For domain.expiring.
Request body
{
  "type": "domain.expiring",
  "domain": "obistores.com.ng",
  "daysLeft": 7
}
200
{
  "ok": true,
  "type": "domain.expiring"
}
  • 400: Something in the request is missing or not valid.
  • 404: The domain is not on your account.
  • 409: The name is taken, the domain is on another account or already on yours, a renewal of the domain is running, or the idempotency key was used for a call that did not finish. Read error.
POST/sandbox/reset

Reset the sandbox

Test keys only. Removes every sandbox domain, test transaction and test event, and puts the test balance back to 1,000,000 naira. Live data is never touched.

200
{
  "ok": true,
  "balanceMinor": 100000000
}

Every call can also answer 401, 403, 429 and 500 (see Errors).