AIRYVL

Developers

The whole integration is three steps

Endpoints and payloads on this page are the demo interface. Shapes are stable enough to review; they are not a production contract.

Demo environment

Step 1

POST

Create a customer session

/v1/sessions

{
  "program_id": "prog_northstar_rewards",
  "external_customer_id": "cust_12345",
  "completion_redirect_url": "https://northstar.example/rewards"
}
{
  "session_token": "short_lived_demo_token",
  "hosted_url": "https://connect.airyvl.com/session/demo"
}

Step 2

CLIENT

Launch Airyvl

hosted link or JS SDK modal

// Option A — hosted link
window.location = hosted_url;

// Option B — modal
Airyvl.open({ sessionToken: session_token });
// customer completes consent, connection and optional receipt upload

Step 3

WEBHOOK

Receive intelligence

POST https://api.northstar.example/hooks/airyvl

{
  "event": "customer.intelligence.updated",
  "external_customer_id": "cust_12345",
  "item": "Running Shoes",
  "evidence": "predicted",
  "confidence": 0.84,
  "source_transaction_id": "txn_demo_918"
}
200 OK

Transaction connection architecture

Plaid sandbox / planned integration
Brand customer sessionCreated server-to-serverAiryvlProgram config + consent scopesPlaid LinkSandbox / planned integrationAiryvl backendTransaction sync + webhooksItem-level layerVerified receipts + prediction

Plaid provides merchant, date, amount and category-level signals. Item-level intelligence comes from verified receipt data and Airyvl prediction — card transactions do not return SKUs.

Session security

  • No permanent secret is ever placed in browser code.
  • Session tokens are short-lived and single-use.
  • Redirect URLs and embed origins are allowlisted per program.
  • Consent scopes are stored per customer and revocable.
  • Demo environment — no security certifications are claimed.

Event log & delivery

Every program emits the same event stream to webhooks and destinations.

Seeded + live session events
EventDetailTimeDelivery
session.createdprogram_id=prog_northstar_rewards · external_customer_id=cust_12345Aug 19, 09:12:04 200
consent.grantedscopes: transactions, receipts, personalized_insightsAug 19, 09:12:31 200
account.connectedsandbox institution · 8 transactions syncedAug 19, 09:12:58 200
receipt.uploadedrcp_3391 · Green Market · $72.48Aug 19, 09:13:40 200
receipt.matchedrcp_3391 → txn_5002 · confidence highAug 19, 09:13:42 200
item.verified4 verified items from rcp_3391Aug 19, 09:13:43 200
item.predictedRunning Shoes · 0.84 from txn_demo_918Aug 19, 09:14:02 200
reward.earned1,000 Northstar PointsAug 19, 09:14:10 200
customer.intelligence.updatedcust_12345 · 3 attributes changedAug 19, 09:14:12 200
destination.delivery.succeededDemo Salesforce connector · 200 OKAug 19, 09:14:13 200