Outlert API reference
The Outlert API lets you accept cards, wallets, PayPal, bank transfers and crypto through a hosted checkout, collect with payment links, and pay out your USDC balance to mobile money and bank accounts in 12 African countries, in local currency.
It is organised around REST: predictable resource URLs, JSON request and response bodies, standard HTTP status codes, and snake_case fields everywhere. Amounts are decimal strings ("49.00"), never floats.
- Money in: create an order → send the customer to its
checkout_url→ receiveorder.paid. - Settlement: every paid order is credited to your balance in USDC, net of fees.
- Money out: quote and create payouts to MTN MoMo, Orange Money, M-Pesa, banks and more, or withdraw USDC onchain.
https://outlert.co/api/v1Quickstart
- Create an account. A test key is issued for you automatically, find it under Developers → API keys.
- Create an order from your server with the amount and your own
external_id. - Redirect the customer to
checkout_url. They choose card, wallet or crypto and pay. - Listen for the
order.paidwebhook (or poll the order) and fulfil. - When you are ready, verify your business, switch the dashboard to Live, and create a
pmn_live_key.
curl -X POST https://outlert.co/api/v1/orders \
-H "X-API-Key: pmn_test_8f2c1a9e5b7d4c219a0e6d2b8c1f4e70" \
-H "Content-Type: application/json" \
-d '{
"amount": "49.00",
"currency": "USD",
"description": "Pro plan, 1 month",
"external_id": "inv_10293",
"back_url": "https://shop.example.com/thanks"
}'// Response → order.checkout_url
res.redirect(303, order.checkout_url);Authentication
Authenticate every request with a secret key in the X-API-Key header. Authorization: Bearer <key> is accepted too. The key decides the business and the mode, there is no account id in requests.
Keys start with pmn_test_ or pmn_live_. Secret keys are shown once when created; store them in your server's secrets, never in a browser or mobile app. Revoke a leaked key immediately from the dashboard.
Each key can be limited to the scopes it needs:
| orders:read | Read orders |
| orders:write | Create orders |
| products:read | Read products |
| products:write | Manage products |
| balance:read | Read balance |
| payouts:read | Read payouts |
| payouts:write | Send payouts |
| webhooks:manage | Manage webhook |
Use GET /ping to check a key: it needs no scope and moves no money.
curl https://outlert.co/api/v1/ping \
-H "X-API-Key: pmn_test_8f2c1a9e5b7d4c219a0e6d2b8c1f4e70"{
"ok": true,
"livemode": false,
"merchant": {
"id": "mer_q8x1c0v7b2n4m3",
"name": "Acme Digital"
},
"key": {
"id": "key_a1b2c3d4e5f6g7",
"scopes": [
"orders:read",
"orders:write"
]
}
}Test mode
Every account has a separate test environment. Test keys only see test data, and no real money moves: the hosted checkout shows a simulator where you choose the outcome, and test payouts complete on their own a few seconds after you create them.
Test settlements apply realistic fees so the numbers you see match what live will look like. Rates in test payout quotes are indicative.
1. POST /orders with a pmn_test_ key
2. Open checkout_url → choose a method → Pay
3. Choose "Simulate successful payment"
4. order.paid is delivered to your test webhook
5. Test payouts complete automatically after ~10 secondsErrors
Failed requests return a non-2xx status and a JSON body with a machine readable error code, a human message you can show or log, and a request_id (also in the X-Request-Id header) to quote to support.
| 400 | invalid_request, invalid_json, idempotency_key_required | The request is malformed. The message names the field. |
| 401 | invalid_api_key | Missing, wrong or revoked key. |
| 402 | insufficient_balance | Not enough USDC for the payout plus fees. |
| 403 | missing_scope, verification_required, merchant_suspended | The key or business is not allowed to do this. |
| 404 | order_not_found, product_not_found, payout_not_found | No such object in this mode. |
| 409 | duplicate_external_id | A conflicting object already exists. |
| 429 | rate_limited | Slow down and retry. |
| 5xx | internal_error, provider_error | Something failed on our side or at a provider. Safe to retry with the same Idempotency-Key. |
{
"error": "insufficient_balance",
"message": "Insufficient balance. This payout needs 103.45 USDC including fees.",
"request_id": "req_4f9a1c2b3d4e5f60"
}Rate limits
Each key may make 120 requests per minute, refilled continuously. Above that you get 429 rate_limited; back off and retry. Webhooks make polling unnecessary for most integrations.
Idempotency
Creating a payout requires an Idempotency-Key header (8 to 100 characters). If a request times out, retry it with the same key: you get the original payout back with status 200 instead of a second payout.
Orders are idempotent on external_id: creating an order with an external_id you already used returns the existing order with 200.
curl -X POST https://outlert.co/api/v1/payouts \
-H "X-API-Key: pmn_test_8f2c1a9e5b7d4c219a0e6d2b8c1f4e70" \
-H "Idempotency-Key: payout-inv-10293" \
-H "Content-Type: application/json" \
-d '{
"rail": "mobile_money",
"amount": "100.00",
"country": "CM",
"recipient": {
"name": "Ngwese Immanuel",
"account": "+237670000000"
}
}'Pagination
List endpoints return newest first. Pass limit (1 to 100, default 20) and, for the next page, starting_after set to the last id you received. Keep going while has_more is true.
{
"object": "list",
"url": "/api/v1/orders",
"has_more": true,
"data": [
"…"
]
}Checkout flow
An order is one amount you want to collect. Its checkout_url opens a hosted, mobile first checkout branded with your name, colour and logo. The customer enters their email and picks Card & wallets (Visa, Mastercard, Apple Pay, Google Pay) or Crypto (USDC, USDT, BTC, ETH and more), then completes payment on our provider partner's secure page and returns to a receipt.
Orders stay open for 24 hours. When paid, the net amount is credited to your balance in USDC and the order's settlement shows what you received and the fee. After payment the customer is sent to your back_url.
Never fulfil based on the redirect alone, wait for order.paid or read the order's status from the API.
unpaid ──customer pays──▶ paid → order.paid
│
└──24 hours pass──▶ expired → order.expiredCreate an order
Scope orders:write. Returns 201, or 200 with the existing order if the external_id was used before.
Body
amountstringrequired- Decimal amount with up to 2 places, from "1.00" to "25000.00".
currencystringrequired- USD, EUR or GBP.
descriptionstring- Shown to the customer on the checkout and receipt. Up to 200 characters.
external_idstring- Your own reference (order or invoice number). Unique per mode; makes the request idempotent.
payment_methodsstringall(default),cardorcrypto.back_urlstring- https URL the customer returns to after paying.
customer.emailstring- Prefills the checkout and links the order to a customer.
customer.namestring- Optional customer name.
metadataobject- Up to 20 keys of your own data, returned on the order and in webhooks.
curl -X POST https://outlert.co/api/v1/orders \
-H "X-API-Key: pmn_test_8f2c1a9e5b7d4c219a0e6d2b8c1f4e70" \
-H "Content-Type: application/json" \
-d '{
"amount": "49.00",
"currency": "USD",
"description": "Pro plan, 1 month",
"external_id": "inv_10293",
"payment_methods": "all",
"back_url": "https://shop.example.com/thanks",
"customer": {
"email": "ada@example.com",
"name": "Ada Obi"
},
"metadata": {
"plan": "pro"
}
}'{
"id": "ord_7kq2m9x4c1v8bn",
"object": "order",
"livemode": false,
"status": "unpaid",
"amount": "49.00",
"currency": "USD",
"description": "Pro plan, 1 month",
"external_id": "inv_10293",
"payment_methods": "all",
"checkout_url": "https://outlert.co/pay/ord_7kq2m9x4c1v8bn",
"back_url": "https://shop.example.com/thanks",
"metadata": {
"plan": "pro"
},
"customer": {
"email": "ada@example.com",
"name": "Ada Obi"
},
"paid_method": null,
"settlement": null,
"paid_at": null,
"expires_at": "2026-11-22T10:00:00.000Z",
"created_at": "2026-11-21T10:00:00.000Z"
}Retrieve an order
Scope orders:read. Look an order up by its Outlert id or by your external_id.
Order status
unpaidstatus- Waiting for the customer.
paidstatus- Payment confirmed.
settlement.amountUSDC was credited to your balance;settlement.feeis the total fee in the order currency. expiredstatus- Not paid within 24 hours.
failedstatus- The payment could not be completed.
curl https://outlert.co/api/v1/orders/ord_7kq2m9x4c1v8bn \
-H "X-API-Key: pmn_test_8f2c1a9e5b7d4c219a0e6d2b8c1f4e70"{
"id": "ord_7kq2m9x4c1v8bn",
"object": "order",
"livemode": false,
"status": "paid",
"amount": "49.00",
"currency": "USD",
"description": "Pro plan, 1 month",
"external_id": "inv_10293",
"payment_methods": "all",
"checkout_url": "https://outlert.co/pay/ord_7kq2m9x4c1v8bn",
"back_url": "https://shop.example.com/thanks",
"metadata": {
"plan": "pro"
},
"customer": {
"email": "ada@example.com",
"name": "Ada Obi"
},
"paid_method": "card",
"settlement": {
"amount": "46.58",
"currency": "USDC",
"fee": "2.42"
},
"paid_at": "2026-11-21T10:02:11.000Z",
"expires_at": "2026-11-22T10:00:00.000Z",
"created_at": "2026-11-21T10:00:00.000Z"
}List orders
Scope orders:read. Filter with status and page with limit / starting_after.
curl https://outlert.co/api/v1/orders?status=paid&limit=50 \
-H "X-API-Key: pmn_test_8f2c1a9e5b7d4c219a0e6d2b8c1f4e70"Payment methods
Scope orders:read. What your customers can pay with. Availability of a given card or wallet can vary by the customer's country, the amount and the provider; the checkout only offers what is eligible.
The hosted checkout also shows express wallet buttons for PayPal, Cash App and Venmo on orders that accept cards (all or card); one tap takes the buyer straight to that wallet, and paid_method reports paypal, cashapp or venmo.
{
"object": "list",
"livemode": false,
"data": [
{
"key": "card",
"name": "Cards, wallets and bank",
"available": true,
"brands": [
"visa",
"mastercard",
"maestro",
"amex",
"apple_pay",
"google_pay",
"paypal"
],
"express_wallets": [
"paypal",
"cashapp",
"venmo"
],
"settlement_currency": "USDC",
"min_amount": "1.00"
},
{
"key": "crypto",
"name": "Crypto",
"available": true,
"assets": [
"USDC",
"USDT",
"BTC",
"ETH",
"SOL",
"BNB",
"LTC",
"TRX"
],
"settlement_currency": "USDC",
"min_amount": "1.00"
}
]
}Mobile money
Customers in Cameroon (XAF), Ghana (GHS), Kenya (KES), Rwanda (RWF) and Uganda (UGX) can pay from their mobile money wallet. They pick the country, enter their number and approve a prompt on their phone with their PIN. Nothing changes in your integration: create the order as usual and send the customer to checkout_url.
The price is your USD amount at a locked rate, rounded up to a whole unit, plus the network fee, so you receive the full value. When the payment is confirmed the order turns paid with paid_method: "mobile_money", order.paid fires and your balance is credited in USDC, minus your normal fee. It is ready to withdraw straight away.
Mobile money is offered on USD priced orders that accept every method (payment_methods: "all"). In test mode the checkout shows Simulate approval and Simulate decline buttons instead of sending a real prompt.
1. Checkout → Mobile money
2. Country: Cameroon (XAF) · Number: +237 670 000 000
3. You pay 30,613 XAF (rate 1 USD = 600 XAF, network fee 613 XAF)
4. Approve the prompt on the phone with the PIN
5. order.paid → merchant credited in USDC{
"key": "mobile_money",
"name": "Mobile money",
"available": true,
"order_currencies": [
"USD"
],
"countries": [
{
"country": "CM",
"currency": "XAF",
"operators": "MTN MoMo, Orange Money"
},
{
"country": "GH",
"currency": "GHS",
"operators": "MTN, Telecel, AirtelTigo"
}
]
}Payment links
Payment links are no code checkouts you create in the dashboard under Payment links: a fixed price (or let the customer choose the amount), an optional product image, and the methods you accept. Every visit creates an order, so links produce the same order.paid webhooks as the API, the order's metadata.payment_link holds the link's slug.
Selling on Shopify or a platform without a plugin? Send a payment link per order.
https://outlert.co/l/acme-pro-plan
→ WhatsApp, Instagram bio, email, invoices, QR codesProducts
Scopes products:read and products:write. A catalogue of what you sell, used by payment links and to keep your records tidy.
Body
namestringrequired- Up to 120 characters.
pricestringrequired- From "1.00" to "25000.00".
currencystring- USD (default), EUR or GBP.
descriptionstring- Up to 1,000 characters.
image_urlstring- Public image URL shown on payment links.
activeboolean- Defaults to true. PATCH it to false to retire a product.
external_idstring- Your SKU. Unique per mode.
POST /products/bulk creates up to 100 products in one call. Items whose external_id already exists are skipped and listed in skipped.
PUT /products/bulk upserts up to 100 products by external_id (required on each item): new ones are created, existing ones replaced. The response counts created and updated. Ideal for syncing a shop catalogue.
PATCH /products/bulk/status enables or disables many products by ids and/or external_ids; unknown ones come back in not_found.
curl -X POST https://outlert.co/api/v1/products \
-H "X-API-Key: pmn_test_8f2c1a9e5b7d4c219a0e6d2b8c1f4e70" \
-H "Content-Type: application/json" \
-d '{
"name": "Pro plan",
"description": "Monthly subscription",
"price": "49.00",
"currency": "USD",
"external_id": "sku_pro"
}'{
"id": "prod_c81m2kx0q9a7zt",
"object": "product",
"livemode": false,
"name": "Pro plan",
"description": "Monthly subscription",
"price": "49.00",
"currency": "USD",
"image_url": null,
"active": true,
"external_id": "sku_pro",
"created_at": "2026-11-21T10:00:00.000Z",
"updated_at": "2026-11-21T10:00:00.000Z"
}curl -X PUT https://outlert.co/api/v1/products/bulk \
-H "X-API-Key: pmn_test_8f2c1a9e5b7d4c219a0e6d2b8c1f4e70" \
-H "Content-Type: application/json" \
-d '{
"products": [
{
"name": "Starter",
"price": "9.00",
"external_id": "sku_starter"
},
{
"name": "Team",
"price": "99.00",
"external_id": "sku_team"
}
]
}'curl -X PATCH https://outlert.co/api/v1/products/bulk/status \
-H "X-API-Key: pmn_test_8f2c1a9e5b7d4c219a0e6d2b8c1f4e70" \
-H "Content-Type: application/json" \
-d '{
"active": false,
"external_ids": [
"sku_starter",
"sku_team"
]
}'Balance
Scope balance:read. Your balance is held in USDC. available can be paid out now; in_transit is already debited for payouts that are still processing.
curl https://outlert.co/api/v1/balance \
-H "X-API-Key: pmn_test_8f2c1a9e5b7d4c219a0e6d2b8c1f4e70"{
"object": "balance",
"livemode": false,
"currency": "USDC",
"available": "1240.52",
"in_transit": "103.45"
}Countries & rails
Pay out in local currency to mobile money wallets or bank accounts in 12 countries. The route is chosen by country and rail; you don't pick an operator. Minimum payout is 5 USD.
| Country | Currency | Rails | Covers |
|---|---|---|---|
| Cameroon CM | XAF | mobile_money | MTN MoMo, Orange Money |
| Côte d'Ivoire CI | XOF | mobile_money | MTN, Orange, Moov, Wave |
| Senegal SN | XOF | mobile_money | Orange Money, Wave, Free Money |
| Ghana GH | GHS | mobile_moneybank | MTN, Telecel, AirtelTigo |
| Nigeria NG | NGN | bank | All Nigerian banks |
| Kenya KE | KES | mobile_moneybank | M-Pesa, Airtel Money |
| Uganda UG | UGX | mobile_moneybank | MTN, Airtel |
| Rwanda RW | RWF | mobile_money | MTN, Airtel |
| Tanzania TZ | TZS | mobile_money | M-Pesa, Tigo Pesa, Airtel |
| Zambia ZM | ZMW | mobile_money | MTN, Airtel |
| DR Congo CD | CDF | mobile_money | M-Pesa, Orange, Airtel |
| South Africa ZA | ZAR | bank | All South African banks |
Prefer crypto? Withdraw USDC on Ethereum, Polygon, Base, Arbitrum, Solana, TRON with rail: "crypto" (minimum 20 USDC). Live crypto withdrawals are reviewed before they are sent.
Quote a payout
Scope payouts:read. Prices a payout without moving money: what the recipient gets, the rate, and the fees you pay on top. Live quotes use the real network rate at that moment; the payout is priced again when you create it.
Body
railstringrequiredmobile_money,bankorcrypto.amountstringrequired- USD value to send (USDC for crypto). Fees are added on top and debited from your balance.
countrystring- ISO country code. Required for mobile_money and bank.
recipient.namestring- Full name of the recipient (mobile_money, bank).
recipient.accountstring- Mobile number in international format (+237670000000) or bank account number.
recipient.bankstring- Bank name, for bank payouts.
recipient.networkstring- Crypto network: ethereum, polygon, base, arbitrum, solana, tron.
recipient.addressstring- Destination wallet address (crypto).
curl -X POST https://outlert.co/api/v1/payouts/quote \
-H "X-API-Key: pmn_test_8f2c1a9e5b7d4c219a0e6d2b8c1f4e70" \
-H "Content-Type: application/json" \
-d '{
"rail": "mobile_money",
"amount": "100.00",
"country": "CM",
"recipient": {
"name": "Ngwese Immanuel",
"account": "+237670000000"
}
}'{
"object": "payout_quote",
"livemode": false,
"debit_currency": "USDC",
"indicative": true,
"send_amount": "100",
"fee": "3.45",
"debit_amount": "103.45",
"receive_amount": "60000",
"receive_currency": "XAF",
"rate": "600",
"breakdown": [
{
"label": "Network fee",
"amount": "1"
},
{
"label": "USDC conversion",
"amount": "1.45"
},
{
"label": "Payout fee",
"amount": "1"
}
]
}Create a payout
Scope payouts:write. Same body as the quote, plus a required Idempotency-Key header. The full debited amount leaves your balance immediately; if the payout fails, it is returned in full and you receive payout.failed.
Live payouts require a verified business (Settings → Verification).
Payout status
processingstatus- Sent to the payment network.
reviewstatus- Crypto withdrawal waiting for a compliance check.
completedstatus- Delivered to the recipient.
failedstatus- Rejected; the debited amount is back in your balance. See failure_reason.
curl -X POST https://outlert.co/api/v1/payouts \
-H "X-API-Key: pmn_test_8f2c1a9e5b7d4c219a0e6d2b8c1f4e70" \
-H "Idempotency-Key: payout-2026-11-21-001" \
-H "Content-Type: application/json" \
-d '{
"rail": "mobile_money",
"amount": "100.00",
"country": "CM",
"recipient": {
"name": "Ngwese Immanuel",
"account": "+237670000000"
}
}'{
"id": "po_4f9a1c2b3d4e5f",
"object": "payout",
"livemode": false,
"status": "processing",
"rail": "mobile_money",
"country": "CM",
"recipient": {
"name": "Ngwese Immanuel",
"account": "••••0000"
},
"amount": "100",
"fee": "3.45",
"debited": "103.45",
"debited_currency": "USDC",
"receive": {
"amount": "60000",
"currency": "XAF",
"rate": "600"
},
"failure_reason": null,
"tx_hash": null,
"created_at": "2026-11-21T10:05:00.000Z",
"completed_at": null
}Retrieve payouts
Scope payouts:read. Read one payout, or list them filtered by status.
curl https://outlert.co/api/v1/payouts?status=processing \
-H "X-API-Key: pmn_test_8f2c1a9e5b7d4c219a0e6d2b8c1f4e70"Settlement wallet
Where your money goes by default. GET needs payouts:read; PUT and withdrawals need payouts:write. PUT is a partial update, send only what changes; local: null removes the local method.
Body
crypto_walletsarray- Up to 19
{ network, address, percentage, label }. Percentages (max 2 decimals) must add up to exactly 100. Addresses are checked per network (EVM 0x…, Solana, TRON). localobject | null{ rail, country, name, account, bank }, a mobile money or bank account in a supported country.default_methodstringlocalorcrypto: what auto payouts use.auto_payoutboolean- Pay out the live balance automatically every day at 18:00 UTC (verified businesses).
POST /wallet/withdraw splits a USDC amount across your crypto wallets by percentage and creates one payout per wallet (each split must be at least 20 USDC). Live crypto withdrawals start in review for a human check.
curl -X PUT https://outlert.co/api/v1/wallet \
-H "X-API-Key: pmn_test_8f2c1a9e5b7d4c219a0e6d2b8c1f4e70" \
-H "Content-Type: application/json" \
-d '{
"default_method": "crypto",
"crypto_wallets": [
{
"network": "polygon",
"address": "0x1111111111111111111111111111111111111111",
"percentage": 70,
"label": "Treasury"
},
{
"network": "tron",
"address": "TXYZabcdefghijkmnopqrstuvwxyz12345",
"percentage": 30,
"label": "Operations"
}
]
}'curl -X PUT https://outlert.co/api/v1/wallet \
-H "X-API-Key: pmn_test_8f2c1a9e5b7d4c219a0e6d2b8c1f4e70" \
-H "Content-Type: application/json" \
-d '{
"auto_payout": true,
"default_method": "local",
"local": {
"rail": "mobile_money",
"country": "CM",
"name": "Ngwese Immanuel",
"account": "+237670000000"
}
}'curl -X POST https://outlert.co/api/v1/wallet/withdraw \
-H "X-API-Key: pmn_test_8f2c1a9e5b7d4c219a0e6d2b8c1f4e70" \
-H "Idempotency-Key: withdraw-2026-11-21" \
-H "Content-Type: application/json" \
-d '{
"amount": "500.00"
}'Webhook endpoint
Scope webhooks:manage. One endpoint per mode, settable from the API or the dashboard. Every PUT rotates the signing_secret and returns it once, store it securely.
In live mode the URL must be public https.
curl -X PUT https://outlert.co/api/v1/webhook \
-H "X-API-Key: pmn_test_8f2c1a9e5b7d4c219a0e6d2b8c1f4e70" \
-H "Content-Type: application/json" \
-d '{
"url": "https://shop.example.com/webhooks/paymenow"
}'{
"object": "webhook_endpoint",
"livemode": false,
"url": "https://shop.example.com/webhooks/paymenow",
"enabled": true,
"events": [
"order.paid",
"order.expired",
"payout.completed",
"payout.failed"
],
"created_at": "2026-11-21T10:00:00.000Z",
"signing_secret": "whsec_Zq3…"
}Events
Each delivery is a POST with a JSON body: id, type, livemode, created_at and data, the full object, in the same shape the API returns.
Event types
order.paidorder- A customer paid; your balance was credited.
order.expiredorder- An order was not paid within 24 hours.
payout.completedpayout- A payout reached the recipient.
payout.failedpayout- A payout was rejected and the money returned to your balance.
Respond with any 2xx within 10 seconds. Handle events idempotently using id, the same event can arrive more than once.
{
"id": "evt_2m9x4c1v8bn7kq",
"type": "order.paid",
"livemode": false,
"created_at": "2026-11-21T10:02:11.000Z",
"data": {
"id": "ord_7kq2m9x4c1v8bn",
"object": "order",
"livemode": false,
"status": "paid",
"amount": "49.00",
"currency": "USD",
"description": "Pro plan, 1 month",
"external_id": "inv_10293",
"payment_methods": "all",
"checkout_url": "https://outlert.co/pay/ord_7kq2m9x4c1v8bn",
"back_url": "https://shop.example.com/thanks",
"metadata": {
"plan": "pro"
},
"customer": {
"email": "ada@example.com",
"name": "Ada Obi"
},
"paid_method": "card",
"settlement": {
"amount": "46.58",
"currency": "USDC",
"fee": "2.42"
},
"paid_at": "2026-11-21T10:02:11.000Z",
"expires_at": "2026-11-22T10:00:00.000Z",
"created_at": "2026-11-21T10:00:00.000Z"
}
}Verify signatures
Every delivery is signed. X-PayMeNow-Signature holds a Unix timestamp t and v1, the hex HMAC-SHA256 of `${t}.${raw_body}` keyed with your signing secret.
- Read the raw request body (before JSON parsing).
- Recompute the HMAC and compare in constant time.
- Reject timestamps more than 5 minutes old to stop replays.
X-PayMeNow-Event: order.paid
X-PayMeNow-Signature: t=1795219331,v1=5257a869e7ecebeda32affa62cdca3fa51cad7e77a0e56ff536d0ce8e108d8bdimport crypto from 'node:crypto';
// Express: app.post('/webhooks/paymenow', express.raw({ type: 'application/json' }), handler)
export function verifyPayMeNow(rawBody, header, secret) {
const parts = Object.fromEntries(header.split(',').map((p) => p.split('=')));
const t = Number(parts.t);
if (!t || Math.abs(Date.now() / 1000 - t) > 300) return false; // 5 minute tolerance
const expected = crypto.createHmac('sha256', secret).update(`${t}.${rawBody}`).digest('hex');
const given = Buffer.from(parts.v1 || '', 'hex');
return given.length === 32 && crypto.timingSafeEqual(given, Buffer.from(expected, 'hex'));
}
// const ok = verifyPayMeNow(req.body.toString('utf8'), req.get('X-PayMeNow-Signature'), process.env.PAYMENOW_WEBHOOK_SECRET);Retries
If your endpoint doesn't answer 2xx, we retry with backoff: after 1 minute, 5 minutes, 30 minutes, 2 hours, 6 hours, 12 hours and 24 hours: eight attempts over about two days. Every attempt, its status code and error are visible under Developers → Webhooks, where you can also resend an event.
Plugins
Plugins for the most common shop platforms, sold once on the Outlert store with a licence key (the Shopify bridge is free). Each one creates a Outlert order for the shop order (external_id = the shop's order id), sends the shopper to the hosted checkout, and marks the order paid only after rereading it from the API and checking that it is paid for the exact amount and currency. Webhooks are verified with your signing secret.
After buying, download with GET /api/plugins/{name}?license=PMN-XXXX-XXXX-XXXX-XXXX. Each plugin needs your Outlert address, a secret key with orders:read and orders:write, and optionally your webhook signing secret.
WordPress 6.5+, WooCommerce 8.3+, PHP 8.1+. Classic checkout and Checkout Blocks. HPOS compatible.
- Plugins → Add New → Upload Plugin → choose the zip → Activate.
- WooCommerce → Settings → Payments → Outlert: enter your Outlert address and secret key.
- In Outlert → Developers → Webhooks, set the URL to https://YOUR-SHOP/wc-api/paymenow/ and paste the whsec_… secret into the plugin.
WHMCS 8.8+, PHP 8.1+.
- Unzip into your WHMCS root so modules/gateways/paymenow.php and modules/gateways/callback/paymenow.php exist.
- System Settings → Payment Gateways → All Payment Gateways → Outlert → enter your Outlert address and secret key.
- Set the Outlert webhook URL to https://YOUR-WHMCS/modules/gateways/callback/paymenow.php and paste the whsec_… secret.
PrestaShop 8.x or 9.x, PHP 8.1+.
- Modules → Module Manager → Upload a module → choose the zip.
- Configure: enter your Outlert address and secret key, then save.
- Set the Outlert webhook URL to the address shown on the configuration page and paste the whsec_… secret.
OpenCart 4.0.x, PHP 8.1+.
- Extensions → Installer → Upload → choose paymenow.ocmod.zip, then click Install.
- Extensions → Extensions → Payments → Outlert → Install, then Edit: address, secret key, order statuses, enable.
- Set the Outlert webhook URL to the address shown in the settings and paste the whsec_… secret.
Any Shopify plan. The optional bridge needs Node 20+ and an https host.
- No code: create Outlert payment links and send one per order (see README).
- Automatic: run the included bridge (node --env-file=.env bridge/server.mjs) with a Shopify custom app token.
- Add a "Pay now" link to the order confirmation email pointing at https://YOUR-BRIDGE/pay/{{ order.id }}.
AI agents (MCP)
Outlert runs a Model Context Protocol server so assistants like Claude, Cursor and VS Code Copilot can look things up and act on your account. Transport is Streamable HTTP (protocol 2025-06-18): one JSON-RPC message per POST, answered with JSON.
Authenticate with your secret key as X-API-Key or Authorization: Bearer. Every tool respects the key's scopes, so give agents a restricted key. Use a test key while you try it out.
Tools
search_docspublic- Search this documentation. Works without a key.
get_accountany key- Business, mode and the key’s scopes.
list_payment_methodsorders:read- What customers can pay with.
list_orders · get_orderorders:read- Recent orders, or one by id or external_id.
create_payment_orderorders:write- Create an order and get a checkout_url to share. Money moves only when the customer pays.
list_productsproducts:read- Your catalogue.
get_balancebalance:read- Available and in transit USDC.
quote_payout · list_payoutspayouts:read- Price a local currency payout; review past payouts.
Agents cannot send payouts. There is deliberately no payout tool: money only leaves your balance when a person does it in the dashboard or through your own API code.
claude mcp add --transport http paymenow https://outlert.co/api/mcp \
--header "X-API-Key: pmn_test_8f2c1a9e5b7d4c219a0e6d2b8c1f4e70"{
"mcpServers": {
"paymenow": {
"url": "https://outlert.co/api/mcp",
"headers": {
"X-API-Key": "pmn_test_8f2c1a9e5b7d4c219a0e6d2b8c1f4e70"
}
}
}
}{
"servers": {
"paymenow": {
"type": "http",
"url": "https://outlert.co/api/mcp",
"headers": {
"X-API-Key": "${input:paymenow-key}"
}
}
},
"inputs": [
{
"type": "promptString",
"id": "paymenow-key",
"description": "Outlert secret key",
"password": true
}
]
}curl -X POST https://outlert.co/api/mcp \
-H "Content-Type: application/json" \
-H "X-API-Key: pmn_test_8f2c1a9e5b7d4c219a0e6d2b8c1f4e70" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_balance","arguments":{}}}'OpenAPI & Postman
The whole API is described in an OpenAPI 3.1 spec (including webhook payloads), ready for code generators and API clients. Prefer clicking around? Import the Postman collection, then set the apiKey variable.
Changelog
- 2026-11-21 · v1.1: Plugins for WooCommerce, WHMCS, PrestaShop and OpenCart, plus a Shopify bridge. Bulk product upsert and status, a settlement wallet with up to 19 crypto splits, an MCP server for AI agents, the OpenAPI spec and the Postman collection.
- 2026-11-21 · v1: Orders, hosted checkout, payment links, products, balance, local currency payouts to 12 countries, USDC withdrawals, signed webhooks.