Documentation

Implement Signalry

Everything your team needs to measure with Signalry: one SDK in the browser and one on your server (or plain HTTP from any language). No Tag Manager and no pixels to paste: Signalry delivers each event to Meta, Google, TikTok and the other platforms you connect in the console.

How it works

  1. In the browser, signalry.js records visits (where the person came from: click ids, UTM, referrer), consent, and the events your site sends with signalry.track().
  2. On your server, confirmed facts (a paid order, a refund, a registered lead) are sent with POST /v1/events. They are not lost when the visitor closes the tab or uses a blocker.
  3. Signalry validates each event against your organization's catalog, ties it to that person's visits, deduplicates it and delivers it to each connected platform, with the same event id in the browser pixel and in the server copy.
Your team implements events; Signalry decides where they go.

Which platforms receive each event, under which name (for example lead → Meta Lead) and with which pixel is set in the console, not in your code. Changing platforms does not require touching the site.

Before you start

Ask whoever administers your organization in Signalry (or create them yourself in Console › Settings › API keys):

KeyPrefixWhere it goes
Browser keypk_test_… / pk_live_…In your site's snippet. Public by nature: it only works from the origins (domains) registered on the key. In production the origins are required, for example https://www.yourstore.com.
Secret keyck_test_… / ck_live_…Only on your server, in an environment variable or secret manager. Never in a web page, a mobile app or the repository.

SDKs

Your organization's events: the implementation guide

Open signalry.net/docs/guide and paste your browser key (pk_…). It lists the events your organization expects in that environment, each with its properties, rules and code ready to copy. The rest of this page explains how everything works.

PackageForInstall
@signalry-net/browserSites with a bundler: React, Next.js, Vue, Svelte…npm install @signalry-net/browser
@signalry-net/nodeYour Node.js backend (18+): purchases, refunds, leadsnpm install @signalry-net/node

Both have no dependencies and include TypeScript types. Without a bundler, use the HTML snippet; for other back-end languages (PHP, Python, Ruby, Go…), the HTTP API in step 5.

1 · Install signalry.js

With a bundler, load it once when your app starts, with the browser key of the matching environment:

JavaScript · @signalry-net/browser
import { load } from '@signalry-net/browser';

load({ key: 'pk_live_YOUR_KEY' });
Next.js (App Router) · app/signalry.tsx, rendered once in the root layout
'use client';
import { useEffect, useRef } from 'react';
import { usePathname } from 'next/navigation';
import { load, page } from '@signalry-net/browser';

export function Signalry() {
  const pathname = usePathname();
  const first = useRef(true);
  useEffect(() => { load({ key: process.env.NEXT_PUBLIC_SIGNALRY_KEY! }); }, []);
  useEffect(() => {
    if (first.current) { first.current = false; return; }   // the first page view is automatic: do not count it twice
    page();
  }, [pathname]);
  return null;
}

Without a bundler, paste this once, high in the <head> of every page (use one of the two, not both):

HTML
<script async src="https://api.signalry.net/s.js" data-key="pk_live_YOUR_KEY"></script>

The examples below write signalry.track(…). That works the same with the HTML snippet (the global signalry), with import { signalry } from '@signalry-net/browser', or importing each call: import { track } from '@signalry-net/browser' and then track(…).

When the person answers your cookie banner, pass the decision to Signalry. Also call it on every page load when the decision was already stored:

JavaScript
signalry.consent({ ads: true, analytics: true });   // accepted everything
signalry.consent({ ads: false, analytics: true });  // analytics only

If your site uses Cookiebot, CookieYes or OneTrust, or keeps the choice in a cookie of its own, signalry.js reads it and keeps it in sync: you do not call consent() yourself.

HTML
<script async src="https://api.signalry.net/s.js" data-key="pk_live_YOUR_KEY" data-consent-from="cookiebot"></script>
<!-- your own cookie: data-consent-from="cookie" data-consent-cookie="my_consent" -->
JavaScript
signalry.consentFrom('cookieyes');
signalry.consentFrom('onetrust', { groups: { analytics: 'C0002', ads: 'C0004' } });
signalry.consentFrom('cookie', { name: 'my_consent' });   // {"ads":true,"analytics":false}
signalry.consentFrom('cookie', { name: 'banner', map: { ads: 'marketing', analytics: 'stats' } });
signalry.consentFrom(() => myBanner.choice(), { event: 'my-banner-change' });

3 · Identify the customer

When the person logs in, signs up or enters their details at checkout:

JavaScript
signalry.identify('cus_123', { email: '[email protected]', phone: '+51987654321' });

Customer data for matching

Every core event (and every custom event that picks a standard) shares the same optional block of customer data. Send the ones you have as properties of the event, from track() or from your backend, with these exact names. Signalry normalizes them, hashes them and puts each one in the field every platform uses. They never go in plain text to an ad platform, and never through the browser or Tag Manager.

PropertyMeta · Pinterest · SnapTikTokGoogle AdsReddit · MicrosoftKlaviyo (CRM)
emailhashedhashedhashedhashedplain
phonehashedhashedhashedhashedplain
first_name, last_namehashedhashedhashed, only with country and postal_code—plain
city, statehashedplain, normalized——plain
postal_codehashedhashedplain, with the name—plain
countryhashedplainplain, with the name—plain
date_of_birthhashed (Meta only)————
genderhashed————

4 · Send events from the browser

JavaScript
signalry.track('add_to_cart', {
  item_id: 'SKU-1',
  value: 59.9,
  currency: 'USD',
  items: [{ item_id: 'SKU-1', item_name: 'Black T-shirt', price: 59.9, quantity: 1 }]
});

Commerce events without building the properties

signalry.commerce builds each commerce event with the catalog's shape (item_id, price, quantity, value, currency, items) and computes the value:

JavaScript
signalry.commerce.setCurrency('PEN');           // or data-currency="PEN" on the script tag
signalry.commerce.viewItem(product);
signalry.commerce.addToCart(product, 2);        // product: { id, name, price, ...your own fields }
signalry.commerce.removeFromCart(product, 1);
signalry.commerce.addToWishlist(product);
signalry.commerce.viewItemList(products, { listId: 'hot-sale', listName: 'Hot Sale' });
signalry.commerce.viewCart(cart);               // cart: [{ ...product, quantity }] or { items, coupon }
signalry.commerce.beginCheckout(cart, { coupon: 'HOTSALE' });
signalry.commerce.addShippingInfo(cart, { shippingTier: 'express' });
signalry.commerce.addPaymentInfo(cart, { paymentType: 'card' });

Single-page apps (React, Vue, Next…)

signalry.js records the arrival on every URL change, but the automatic page_view is only the one on load. On an internal navigation, call signalry.page() after the route changes:

router.afterEach(() => signalry.page());

5 · Events from your backend

Send from your server what must not be lost: purchase when the payment is confirmed, refund when the refund is completed, and the leads your backend registers. One event, or up to 500 in {"events": [...]}:

// npm install @signalry-net/node · SIGNALRY_SECRET_KEY lives in the server's environment.
import { Signalry } from '@signalry-net/node';

const signalry = new Signalry({ apiKey: process.env.SIGNALRY_SECRET_KEY });

// When the payment is confirmed (webhook or reconciliation):
const result = await signalry.purchase({
  orderId: order.number,                    // also what keeps it from counting twice
  valueCents: order.totalCents,             // or value: 59.9 (units, never cents)
  currency: 'USD',
  items: order.lines.map((line) => ({ id: line.sku, name: line.name, priceCents: line.unitCents, quantity: line.qty })),
  userId: order.customerId,
  anonymousId: order.signalryAnonymousId,   // signalry.anonymousId() stored at checkout
  customer: { email: order.email, phone: order.phone, fullName: order.name, country: 'US' },  // hashed before any platform
  consent: order.consent,                   // stored at checkout: consentFrom(req, 'cookiebot')
});
// result.status: accepted | deduped | rejected | unknown | disabled
// Signalry did not answer → throws SignalryError with retryable: true (sending again is safe)
// The order is wrong ("S/ 59.90", currency "dollars", an item without id) → throws SignalryValidationError, nothing is sent

await signalry.refund({ orderId: order.number, refundId: refund.id, valueCents: refund.amountCents, currency: 'USD' });
signalry.track('lead', { form_name: 'quote' }, { userId: customer.id });   // batched in the background
await signalry.close();                                                    // before the process exits

What the Node SDK checks before sending

purchase(), refund() and their purchasePayload() / refundPayload() versions review the order, so nothing wrong reaches Signalry or the platforms:

When
Stops it
SignalryValidationError, with each field and why
A value that is not a number ("S/ 119.90"), a currency that is not ISO 4217, an item without id, a quantity that is not a whole number of at least 1, a price that is not a number, a date in the future, value and valueCents that disagree.
Sends it and warns
onWarning (by default console.warn)
An email without domain or a country that is not a two-letter code (left out); a value that looks like cents; no email or phone (a weaker match); a sale more than 7 days old (Signalry keeps it for reports and reconciliation; Meta and most platforms no longer take it).

customer takes email, phone, firstName and lastName (or fullName, split into first name and paternal surname), city, state, postalCode, country, dateOfBirth, gender and customerId. You do not remove data when the visitor refused ads: send consent and Signalry turns off, for that event, each platform that was not allowed. checkPurchase() and checkRefund() give the same answer without throwing, for your tests.

Tie the purchase to the visit

For a purchase to be attributed to the ad or campaign that brought the person, the server event has to say who it is:

  1. At checkout, read signalry.anonymousId() in the browser and store it with the order (in your cart or in the order).
  2. When the payment is confirmed, send that value as anonymous_id and, if the person has an account, your customer id as user_id.

With that, Signalry recovers the click ids, UTM and platform cookies from that person's visits, even when the payment is confirmed hours later by a webhook.

Bind the order when it is created (Node)

With @signalry-net/node your backend binds the order to the visit itself, without the anonymous id going through your cart:

app.use(signalry.middleware());                 // reads the visit from each request

// when the order is created (the checkout request):
const bind = await signalry.orders.bind({ orderId: order.number, req, userId: customer?.id });
if (!bind.bound) order.signalryToken = bind.token;   // the page binds it: signalry.bindOrder(token)

Erase a person

When a person asks you to delete their data, send it from your backend: Signalry removes what it kept to recognize them (identity hashes, visits and the links between their ids), for the ids you send and the ones linked to them.

curl -X POST https://api.signalry.net/v1/subjects/erase \
  -H "Authorization: Bearer $SIGNALRY_SECRET_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "user_id": "cus_123", "anonymous_id": "VALUE_OF_signalry.anonymousId()" }'
# → { "environment": "production", "identities": 2, "touches": 5, "links": 1 }

Response and errors

A valid request answers 200 with the status of each event:

{ "environment": "production", "requestId": "7c0e…", "received": 1, "accepted": 1,
  "results": [{ "index": 0, "name": "purchase", "status": "accepted", "id": "b1f4…" }] }
statusWhat it means
acceptedStored and queued for its destinations.
dedupedAlready received (same message_id, or the same order within its window). Not sent again. This is a correct answer.
rejectedIt does not meet the event's contract (a required property is missing, a type does not match). The reason is in errors. Fix it and send again.
unknownThe name is not in that environment's catalog. It is kept in Discovery so it can be added; it is not delivered.
disabledThe event exists but is switched off in that environment.
HTTPWhat happened
400The body is not valid JSON or a field has the wrong type. issues lists each problem.
401Missing, revoked or expired key; or a browser key used from an origin that is not registered.
429 · 5xxRetry later with the same message_id.
413The body is over 1 MB. Send fewer events per request.

Retries

Durable outbox (Node SDK)

A confirmed purchase must not depend on Signalry answering at that moment. The SDK brings the outbox: the event is saved in your database in the same transaction that marks the order paid, and a worker delivers it until Signalry confirms it.

import { Outbox, postgresOutbox } from '@signalry-net/node';

const outbox = new Outbox(signalry, postgresOutbox(pool));   // pg Pool
await outbox.setup();                                        // creates the table once (or OUTBOX_MIGRATION_SQL in your migrations)
outbox.start();                                              // the worker; several replicas are safe

// when the payment is confirmed, inside your transaction:
await outbox.add(signalry.purchasePayload({ orderId: order.number, valueCents: order.totalCents, currency: 'USD', customer }), tx);

Standard events

These are Signalry's core events and their base properties. Use these names when the fact matches: each platform then receives its standard event with no extra configuration. Your catalog may also have events of your own (for example customize_start); their exact name and properties are in the console. Visit properties (page_url, referrer, UTM, session_id, and path on page_view) are filled in by signalry.js. path is the page path without domain or query (/checkout), handy to filter a funnel step by page; segments that look like an email or a secret leave as :redacted, in page_url too.

EventFromRequiredOptionalArrives as
page_viewbrowserpath (automatic)—meta PageView · ga4 page_view
view_itembothitem_iditem_name price quantity currency meta ViewContent · ga4 view_item · tiktok ViewContent
view_item_listboth—list_id list_name items ga4 view_item_list
view_cartbothvalue currencyitems ga4 view_cart
searchbothsearch_term—meta Search · ga4 search · tiktok Search
add_to_cartbothitem_id value currencyitem_name price quantity items meta AddToCart · ga4 add_to_cart · tiktok AddToCart
remove_from_cartbothitem_id value currencyitem_name price quantity ga4 remove_from_cart
add_to_wishlistbothitem_id value currencyitem_name price quantity meta AddToWishlist · ga4 add_to_wishlist · tiktok AddToWishlist
begin_checkoutbothvalue currencyitems coupon + customer datameta InitiateCheckout · ga4 begin_checkout · tiktok InitiateCheckout
add_payment_infobothvalue currencypayment_type + customer datameta AddPaymentInfo · ga4 add_payment_info · tiktok AddPaymentInfo
add_shipping_infobothvalue currencyshipping_tier + customer dataga4 add_shipping_info
place_orderbothtransaction_id value currencyitems + customer data—
purchaseservertransaction_id value currencytax shipping coupon items placed_at + customer datameta Purchase · ga4 purchase · tiktok Purchase
refundservertransaction_id value currencyrefund_id items + customer dataga4 refund
sign_upboth—method + customer datameta CompleteRegistration · ga4 sign_up · tiktok CompleteRegistration
loginboth—method + customer dataga4 login
leadboth—form_name value currency + customer datameta Lead · ga4 generate_lead · tiktok Lead
contactboth—channel + customer datameta Contact · tiktok Contact
scheduleboth—appointment_id appointment_date appointment_time service + customer datameta Schedule · tiktok Schedule
subscribeserversubscription_id value currencyplan billing_period + customer datameta Subscribe · tiktok Subscribe
start_trialboth—plan trial_days + customer datameta StartTrial · tiktok StartTrial
submit_applicationboth—application_type + customer datameta SubmitApplication · tiktok SubmitApplication
shareboth—method content_type item_id ga4 share
downloadboth—file_name file_type ga4 file_download · tiktok Download
click_buttonbothbutton_name——
watch_videoboth—video_title percent_watched ga4 video_start
donatebothvalue currency+ customer datameta Donate
find_locationboth—location_query meta FindLocation · tiktok FindLocation
customize_productbothitem_iditem_name price quantity options meta CustomizeProduct · tiktok CustomizeProduct
ratebothscoreitem_id + customer data—

items is a list of objects with item_id, item_name, price and quantity. "From: server" means that event is sent from your backend, with the secret key, once the fact is confirmed.

Event fields (server)

FieldWhat it is
namerequiredThe event, in snake_case (purchase, add_to_cart, lead). It must exist and be enabled in that environment's catalog.
message_idrecommendedYour id for this event. Sending the same one again is a retry and counts once.
user_id / anonymous_idone of the twoWho did it: your customer id and/or the browser id from signalry.anonymousId(). Signalry ties the event to that person's visits.
occurred_atoptionalWhen it happened, in ISO 8601 with a time zone. By default, when Signalry receives it.
propertiesoptionalWhat the event's contract defines: transaction_id, value, currency, items… Only properties declared in the catalog are forwarded to destinations.
contextoptionalAbout the person and the visit: traits (email, phone; hashed before they reach the platforms), ip, user_agent, consent ({ ads, analytics, crm }).

Data rules

Debug mode

While you implement, turn on debug mode: the browser console shows each event, where it went and what Signalry answered. It never leaves the browser and is off for your visitors.

Browser console
[Signalry] ready · signalry.js 0.8.9 · environment development · 12 enabled events · consent required
[Signalry] track add_to_cart {item_id: 'SKU-1', value: 59.9, currency: 'USD'} id add_to_cart:SKU-1
[Signalry] add_to_cart → pixels: meta
[Signalry] add_to_cart → accepted
[Signalry] track customize_start {} id … · not enabled in the development catalog: Signalry will answer unknown or disabled
[Signalry] view_item → rejected item_id: required

Rejection reasons

A rejected event comes with its reasons in errors (and in debug mode). Each one says what to fix:

ReasonWhat to do
value: requiredA required property is missing or null. Send it.
value: expected a numberWrong type: send a number (59.9), not text ("59.90"). Same for expected a string, an integer, a boolean, an object, an array.
currency: expected a 3-letter currency code, like USD or PENAn ISO 4217 code.
plan: expected one of pro, basicThe property only accepts those values (exactly, case included).
date: expected a date (YYYY-MM-DD) · expected an ISO-8601 datetime2026-11-04 or 2026-11-04T15:04:05Z.
expected a URL · expected an email · expected a phone numberA full https:// URL; a valid email; digits with an optional + and spaces.
must be ≥ 0 · must have at most 100 characters · must match …The value is outside the rule shown in your guide.
items: item 0: expected objectEvery element of the list must have the type shown.
identity required: send user_id or anonymous_idServer events must say who: your customer id and/or signalry.anonymousId() stored at checkout.
note: unknown property (strict mode)The event is strict: remove properties that are not in its contract, or ask for them to be added.

unknown means the name is not in the catalog of that environment (check the exact name in your guide); disabled, that the event exists but is switched off there.

Property types

TypeValidNot valid
string"SKU-1"123
integer22.5, "2"
number · money59.9"59.90", "S/ 59"
booleantrue"true", 1
date"2026-11-04""04/11/2026"
datetime"2026-11-04T15:04:05Z""ayer"
enumone of the listed valuesany other text
array[{ "item_id": "SKU-1" }]a single object
object{ "plan": "pro" }[], null
url"https://shop.com/p/1""shop.com/p/1"
email · phone"[email protected]" · "+51 987 654 321""ana" · "call me"

A missing optional property is fine; send null only when you mean "none". Send amounts in the currency's unit, never cents.

Limits

Limit
Events per request (/v1/events)500
Request body1 MB (over it: 413)
Secret key (ck_)6,000 requests per minute per key
Browser key (pk_)600 requests per minute per visitor IP
A catalog or configuration changereaches the browser within a minute

Over a rate limit the answer is 429: retry later with the same message_id. The SDKs do it for you.

Content Security Policy

If your site sends a Content-Security-Policy header, allow Signalry and the pixels of the platforms Signalry fires for you (your guide lists the connected ones):

Content-Security-Policy (add to your existing directives)
script-src  https://api.signalry.net https://connect.facebook.net https://www.googletagmanager.com https://analytics.tiktok.com;
connect-src https://api.signalry.net https://www.facebook.com https://*.google-analytics.com https://analytics.tiktok.com;
img-src     https://www.facebook.com https://*.google-analytics.com https://analytics.tiktok.com;

Only the first host is Signalry's. The others are needed only for the platforms connected in your organization; if your browser mode is "server only", https://api.signalry.net is enough.

Who configures what

Your developer, in codeSignalry, in the console
The snippet or @signalry-net/browser, once on every pageThe keys and their allowed origins
consent() from your banner, identify() on login or checkoutWhether consent is required
track() for each event of the guide, with its propertiesThe catalog: event names, properties, rules
purchase, refund and leads from your backend, with retriesWhich platforms receive each event, their pixels and credentials
Storing anonymousId() with the orderHow the browser delivers: Signalry pixels, Tag Manager or server only

Pixel ids, access tokens and Tag Manager containers never go in your code: if a platform is missing, ask for it to be connected.

HIPAA Shield

For organizations with HIPAA on: the pixels already on your site (Meta, Google Analytics 4, Google Ads, TikTok, Pinterest, Snapchat, Reddit, Microsoft, X, LinkedIn) keep firing, but each request goes through Signalry's relay and leaves redacted. The relay applies an allowlist per platform: the IP, cookies, click ids, the URL path and query, the referrer, the page title, form and button text and the user agent do not leave; a custom event name leaves as a neutral code (event_a8c2ca6a) unless you map it to a standard event; and each request waits a random 1 to 15 seconds. The Shield redacts the requests it knows; with the security policy or the box, the browser blocks the ones it does not. Level 1 without the policy fails open (if signalry.js does not load, the pixels send directly), and pixels written in your HTML run outside the box: on pages with PHI use the policy or the box.

Install

The console adds data-shield="hipaa" to your snippet when your organization has HIPAA on. Put it as the first tag in the <head>, before any pixel, and without async: it must run before them. The vendors' own scripts (fbevents.js, gtag.js…) then download through the Shield too.

HTML · Signalry + Shield
<script src="https://api.signalry.net/s.js" data-key="pk_live_YOUR_KEY" data-shield="hipaa"></script>

Shield only (you measure with another tool, or none, and only want your pixels protected): shield.js reroutes and redacts, and sends no events to Signalry. It needs only data-key.

HTML · Shield only
<script src="https://api.signalry.net/shield.js" data-key="pk_live_YOUR_KEY"></script>

data-shield-api (optional) is the relay's domain when the Shield runs on its own router.

Level 1, level 2 and your security policy

Content-Security-Policy · your clinic's pages under level 1 (the console shows yours)
default-src 'self' https://api.signalry.net; script-src 'self' 'unsafe-inline' https://api.signalry.net; style-src 'self' 'unsafe-inline'; img-src 'self' data: https://api.signalry.net; connect-src 'self' https://api.signalry.net; frame-src 'self' https://api.signalry.net; form-action 'self' https://api.signalry.net; worker-src 'self'; base-uri 'self'

Add your site's own hosts (a CDN, a chat) to the directive that needs them. With this policy, a request the Shield does not know is a lost event, never leaked data.

Check it

In the browser console, window.signalry.shield returns { on, relayed, scripts, direct }: whether the Shield is in place, how many pixel requests and vendor scripts went through it, and the vendor hosts the browser reached directly (it should be empty; if not, signalry.js is not the first tag). With ?signalry_debug=1 the console says HIPAA Shield on.

Console API

CallWhat it does
GET /o/{slug}/shield?env=productionRequests per day and per vendor, each event with the name it left under and health terms it reveals, hosts reached directly, the event map and whether the box is on. Counts only: the Shield never stores a request.
PUT /o/{slug}/shield/event-mapMaps custom events to standard ones: { "map": { "Semaglutide_Purchase": "Purchase" } }. Organization admins.
PUT /o/{slug}/shield/isolationLevel 2 on or off: { "enabled": true }. Only Signalry or your agency.

These calls use a console user's session. HIPAA Shield is a technical safeguard, not legal advice: see Healthcare & HIPAA.

signalry.js changelog

The script is always served from the same address (https://api.signalry.net/s.js) and updates itself. To see which version your site runs: signalry.version in the console, or the x-signalry-version header of the script's response.

On the server, since Nov 10, 2026: a sale older than each platform accepts (7 days for Meta, TikTok, Pinterest and Reddit; 72 hours for GA4) is no longer sent nor left as "failed": it is marked out of window and stays in Signalry for reports and reconciliation.

Frequently asked questions

Do I send page_view?

No: signalry.js sends it on each page load. In a single-page app, call page() after each later route change, not on the first render (that view already went out).

Does it work with server-side rendering?

Yes. @signalry-net/browser does nothing on the server; call load() from code that runs in the browser (in Next.js, a 'use client' component).

My site has several domains or subdomains.

One browser key can list several origins (https://shop.com, https://www.shop.com, https://checkout.shop.com). Ask for all of them to be registered on the key.

The payment is confirmed on another domain or by a webhook.

That is the normal case: store signalry.anonymousId() with the order when it is created, and send it as anonymous_id with the purchase from your backend.

What if a visitor uses an ad blocker?

The browser may not reach a platform's pixel, but events sent from your server still arrive, and Signalry delivers them from the server.

Can I keep my Tag Manager?

Only if your organization's browser mode is "Tag Manager" (your guide says which). Otherwise remove the tags of the platforms Signalry delivers, or every event counts twice.

How do I test without touching production?

Use the pk_test_ and ck_test_ keys: they write to the development environment, which has its own catalog and platforms. Turn on debug mode to see each answer.

Which time zone for occurred_at?

Any, as long as it is ISO 8601 with its offset (2026-11-04T10:04:05-05:00) or UTC (…Z). Without it, Signalry uses the time it received the event.

How do I send a partial refund?

One refund per refund, each with its own refund_id, the original transaction_id and the refunded value.

A property I need is not in my guide.

Ask for it to be added to the catalog. In a permissive event you can send it meanwhile: it is stored but not forwarded to the platforms until it is declared.

Test and go live

While you implement, watch what arrives in Console › Live (each event within seconds, with its status and the destinations it went to) and in Console › Inspection (one event in detail: what Signalry received and what it sent to each platform). Console › Playground sends a test event without writing code.

Test your backend without calling Signalry

import { testSignalry } from '@signalry-net/node/testing';

const fake = testSignalry();               // the real client; nothing goes to the network
await checkout(fake.signalry);             // your code
fake.events('purchase');                   // what arrived, with its status
fake.down(2);                              // the next 2 requests answer 503: test your retries and the outbox
fake.slowBind(5000);                       // orders.bind answers late: test that your checkout does not wait
fake.reject('refund');                     // like an event that is not in your catalog

It checks what the SDK checks. Your catalog's contract (the required properties of each event) is validated only by the real Signalry: also try it with the ck_test_ key.

Checklist before production

Questions this page does not answer?

Write to [email protected] with the environment, the event name and, if you have it, the requestId of the response.