Integration guide
Connect your platform to Woven
This guide covers what your backend does: send us the applicant, show their offer in your product, keep their data current, and receive a webhook when something changes. We run the sign-in, the form, the checks, the agreement and the money.
{
"external_id": "applicant-42",
"profile": { "first_name": "Sam", … },
"entity": { "name": "Example Business", … }
} { "id": "APPLICANT_UUID", "offers": [ { "eligible": true, … } ],
"widget": { "session_token": "…", "expires_in": 900 } } <div id="woven-offer"></div>
<script src="https://app.wovenfinance.com.au/widget/woven.js"
data-key="wvn_pk_…"
data-session-token="SESSION_TOKEN"
data-layout="card" data-open="popup"></script> // the widget shows the offer, then the application, // then the live loan, as things change
Understand the flow
What happens between your platform, Woven and the applicant, and what each side sees.
How the pieces fit
You send us what you know about the applicant. We pre-qualify on it, and the widget shows them an offer inside your product. If they take it up, they fill in a short form we host in your brand, with your data already entered. We run the checks, make the decision, pay out and service the agreement, and we collect through your platform. Each change reaches your backend as a webhook, and the widget shows the applicant where things are up to.
Your side of the diagram is one call, one script tag, and an endpoint for our webhooks.
What the applicant sees
The same journey from the applicant’s side and yours: your product with the widget, our hosted screens, and the webhooks your backend receives at each step. Click a step or let it play.
Thanks, Sam. We are checking a few things and will email you as soon as there is news.
Pick the amount and the payout account, then accept and sign. Co-owners sign too.
Signed by everyone. The payout settles next business day and your repayments start a month later.
Put an offer in front of an applicant
One call and one script tag. About ten minutes.
Get your keys
- Your server key for this environment (
wvn_sk_…) and your publishable key (wvn_pk_…). We issue one of each per environment. The server key stays on your backend and must never reach a browser; the publishable key goes in the page.
Set these once. Every example below reads them.
export WOVEN_BASE_URL="https://api.wovenfinance.com.au/platform-api"
export WOVEN_API_KEY="wvn_sk_REPLACE_ME" 1Create the applicant View in API reference
An applicant is a person or business on your platform who could be offered finance. Send your own stable reference as external_id and whatever you hold of the data we agreed for your product. We return our id; keep both. Send the same call whenever something changes: the same external_id updates the record, and we pre-qualify again on the new data.
curl -s "$WOVEN_BASE_URL/v1/applicants/" \
-H "Authorization: Bearer $WOVEN_API_KEY" \
-H "Content-Type: application/json" \
-d '{"external_id": "applicant-42", "profile": {"first_name": "Sam", "email": "sam@example.com"}}'const base = process.env.WOVEN_BASE_URL;
const headers = { Authorization: `Bearer ${process.env.WOVEN_API_KEY}`, "Content-Type": "application/json" };
const applicant = await fetch(`${base}/v1/applicants/`, {
method: "POST", headers,
body: JSON.stringify({ external_id: "applicant-42", profile: { first_name: "Sam", email: "sam@example.com" } }),
}).then((r) => r.json());
console.log(applicant.id, applicant.widget.session_token);import os, requests
base = os.environ["WOVEN_BASE_URL"]
headers = {"Authorization": f"Bearer {os.environ['WOVEN_API_KEY']}"}
applicant = requests.post(f"{base}/v1/applicants/", headers=headers, json={
"external_id": "applicant-42", "profile": {"first_name": "Sam", "email": "sam@example.com"},
}).json()
print(applicant["id"], applicant["widget"]["session_token"]) {"id": "a1b2c3d4-…", "external_id": "applicant-42", "canonical": {…}, "offers": [{"eligible": true, …}],
"widget": {"session_token": "…", "expires_in": 900, "script_url": "https://app.wovenfinance.com.au/widget/woven.js"}} The response has our id, your external_id, any pre-qualified offers, and a widget object with a session token and the script to load. Send what you know lists where each field goes.
2Render the offer widget View in API reference
Put the script on the page where the applicant should see their offer, with your publishable key and the session token from step 1. The widget renders inline, in your brand, and shows whichever applies: the offer, the application in progress, or the live loan and its balance.
<div id="woven-offer"></div>
<script src="https://app.wovenfinance.com.au/widget/woven.js" data-key="wvn_pk_…" data-session-token="WIDGET_SESSION_TOKEN"
data-layout="card" data-open="popup"></script> A session token lasts fifteen minutes. When you render a page later, ask for a new one:
curl -s -X POST "$WOVEN_BASE_URL/v1/applicants/$APPLICANT_ID/widget-session/" \
-H "Authorization: Bearer $WOVEN_API_KEY"const session = await fetch(`${base}/v1/applicants/${applicant.id}/widget-session/`, { method: "POST", headers }).then((r) => r.json());
// session.token goes into data-session-token; it lasts session.expires_in secondssession = requests.post(f"{base}/v1/applicants/{applicant['id']}/widget-session/", headers=headers).json()
# session["token"] goes into data-session-token; it lasts session["expires_in"] seconds With data-open="popup", taking up the offer opens our hosted application in a window over your page, and the widget refreshes when they finish. Without it, the application opens in the same tab. The widget cannot send financial or identity data; that comes from your backend.
Coming soon Native components for iOS, Android and React Native. Today the offer widget is for the web.
After that, the applicant fills in our form with your data already entered. We run the checks, make the decision, pay out and service the agreement. The widget shows them where things are up to, and webhooks tell your backend about each change.
Also in the API. POST /v1/applications/ reference starts an application from your side and returns a continue_url, for platforms that build their own screens. GET /v1/applicants/{id}/status/ reference reads whether an application exists and its status. A record or indicative terms is not an approval; only approved is.
See what the widget can show
Every state the widget can show, in each layout, colour mode and brand. Pick a state; the snippet under it is what you paste.
We can make an indicative offer on what the platform told us. The real widget reads state through its applicant-scoped session.
<script src="https://app.wovenfinance.com.au/widget/woven.js" async
data-key="wvn_pk_…"
data-session-token="APPLICANT_SESSION_TOKEN"
data-layout="card"></script>
<div id="woven-offer"></div> data-key: the platform's public key (only the listed origins can use it).data-session-token: a short-lived token issued by your backend through POST /platform-api/v1/applicants/{id}/widget-session/. Refresh it when it expires.- Send profile and underwriting data through the server API. The widget reads accepted data and cannot overwrite it.
data-layout: banner or card.data-mode: auto (follows the visitor's system, default), light or dark.
The wording can differ between customers while we test which wording leads to more applications. The amount, price and decision never differ, and a customer always sees the same wording. If you draw the offer yourself from the quote call, its offer may carry an optional presentation object (eyebrow, headline, sub, cta, image_url, each possibly empty; {amount}, {product} and {platform} stand for the offer's figure, the product's name and yours). Use a part when it is set and your own wording otherwise; ignoring it is fine.
Coming soon Native components for iOS, Android and React Native, with the same states and the same session token.
Keep the offer accurate
We pre-qualify on what you send. The more current it is, the closer the indicative offer is to the final one, and the less the applicant has to type.
Send what you know View in API reference
The create call takes everything; send it again whenever something changes. Where each kind of data goes:
| Data | Where it goes |
|---|---|
| Person’s details | profile on the applicant |
| Business details | entity on the applicant |
| Locations, equipment or other related assets | assets, each with a stable external_id |
| Supported summary measures | signals on the applicant |
| Monthly takings, revenue or another dated measure | the applicant’s observations endpoint |
| Offboarding, failed payments or another change | the applicant’s events endpoint |
| Additional information in your own structure | metadata on the applicant |
On an update, fields you leave out stay as they were. Metadata you send replaces the previous metadata. Assets match on their external ID, and leaving one out does not delete it. We keep metadata as you sent it; it is never treated as verified identity or financial data.
Send monthly figures View in API reference
Takings, revenue and other measures that belong to a period go to the applicant’s observations endpoint, one per period. Money is in whole cents, dates are ISO 8601, and a period excludes its end date, so January is 2026-01-01 to 2026-02-01. Missing is not zero: leave a period out rather than sending 0, and mark partial reporting as partial. To correct one, send a new observation with its own ID and a supersedes reference.
POST /v1/applicants/{id}/observations/
{
"observation_id": "takings-2026-09",
"kind": "card_takings",
"period_start": "2026-09-01",
"period_end": "2026-10-01",
"value": 8421000,
"unit": "cents",
"currency": "AUD",
"coverage": "complete"
} Tell us when something changes View in API reference
Post to the applicant’s events endpoint with a stable event_id. On a live agreement, these event types act straight away:
| Event type | What Woven does |
|---|---|
payment.failed | Woven staff review the arrears. |
applicant.offboarded, management.ceased | Woven staff review the agreement for default. |
customer.churned | The customer has left your platform, so you can no longer collect for them. Collections move to the product’s fallback route (the direct debit authority taken at acceptance); you receive agreement.collection_changed. Without a fallback, Woven staff review the agreement. |
customer.risk_changed | Noted on the agreement for Woven staff to see. Nothing happens automatically. Put what changed in data. |
settlement.failed | You could not settle what you collected for an agreement. Noted on the agreement; when you are the collection route, Woven staff review it. Put the reason in data. |
POST /v1/applicants/{id}/events/
{
"event_id": "evt-2026-10-16-001",
"type": "payment.failed",
"occurred_at": "2026-10-16T02:00:00+00:00",
"data": {"reason": "insufficient_funds"}
} When an event is about one of the applicant’s assets, set subject_external_id to that asset’s external_id; an event about one asset of several opens a review rather than acting on the whole agreement. The response says what we did under servicing. A product can map further event types to pausing and resuming collections, to a review, or to moving collections onto the product’s fallback route (a direct debit authority taken at acceptance, used when the customer leaves your platform; you receive agreement.collection_changed). Any other event type is kept as evidence. Events never move money or change a balance.
Find out what happened
Your backend hears about every change by webhook, usually within seconds. No polling.
Receive webhooks
We call your HTTPS endpoint when something changes. We register the endpoint and give you its signing secret. Each call is a POST with this body:
{"id": "EVENT_UUID", "type": "agreement.activated", "created_at": "2026-09-20T03:00:00+00:00", "sequence": 12, "data": {}} | Type | When |
|---|---|
application.status_changed | An application moves to a new status |
agreement.created, agreement.signed, agreement.activated | Acceptance, signatures, payout |
agreement.status_changed, agreement.completed | Paused, in arrears, defaulted, paid in full |
agreement.restructured | What was still owed has a new schedule. Open collection instructions are cancelled and new ones follow |
agreement.hold_started, agreement.hold_ended | Woven’s collections on the agreement are on hold, or the hold ended: a payment arrangement, a dispute or a request not to be contacted |
payout.instructed, payout.settled, payout.failed | The payout |
collection.instruction_created, collection.instruction_cancelled | The collection file |
payment.received, payment.returned | Repayments |
offer.issued, offer.changed, offer.withdrawn | A pre-qualified offer to one of your customers was made, replaced or withdrawn. Sent only if your endpoint names them: “every event” does not include them |
Delivered in order, each answered with a 2xx, from the first status change to the first repayment:
Store the event first, then reply with any 2xx and do the work afterwards. Any 2xx counts as delivered and we do not send that event again, so an event you acknowledge and then lose will not come back as a webhook. We retry a failed delivery for about two days. Calls can arrive out of order or twice, so use id to ignore repeats and sequence to order them.
Every attempt we make on your endpoints, with what came back and how long it took, is in your console under Developers, Delivery log.
If your endpoint stays down, your console shows it: after 3 failed attempts in a row it reads as failing under Developers, Webhooks, and after an hour of that we email your console admins. If an endpoint has had no delivered attempt for 24 hours and at least 5 failed attempts in a row, Woven pauses it: we stop posting to it and email your admins again. Nothing is lost. Each event still gets a delivery for that endpoint, the deliveries wait with the attempts they had left, and none is marked failed because of the pause. When the endpoint works again, an admin chooses Resume on it and the waiting deliveries are sent in order. You can send a test event to a paused endpoint to check your fix first; a delivered test does not resume it.
Check each delivery is ours
The Woven-Signature header is t=TIMESTAMP,v1=SIGNATURE, where SIGNATURE is the hex HMAC-SHA256 of TIMESTAMP + "." + raw request body keyed with your signing secret. Reject anything whose signature does not match or whose timestamp is more than five minutes old:
const crypto = require("crypto");
function verify(rawBody, header, secret) {
const parts = Object.fromEntries(header.split(",").map((p) => p.split("=")));
const expected = crypto.createHmac("sha256", secret).update(`${parts.t}.${rawBody}`).digest("hex");
const fresh = Math.abs(Date.now() / 1000 - Number(parts.t)) < 300;
const wanted = Buffer.from(expected);
const given = Buffer.from(parts.v1 || "");
// timingSafeEqual throws on different lengths, so a short or missing signature is refused first.
return fresh && given.length === wanted.length && crypto.timingSafeEqual(wanted, given);
}import hmac, hashlib, time
def verify(raw_body: bytes, header: str, secret: str) -> bool:
parts = dict(p.split("=", 1) for p in header.split(","))
expected = hmac.new(secret.encode(), f"{parts['t']}.".encode() + raw_body, hashlib.sha256).hexdigest()
fresh = abs(time.time() - float(parts["t"])) < 300
return fresh and hmac.compare_digest(expected, parts["v1"]) Catch up after downtime View in API reference
Nothing is lost on our side: we keep every event, whatever happened to its delivery. Read them in order from GET https://api.wovenfinance.com.au/platform-api/v1/events/?after=SEQUENCE, starting from the last sequence you processed, which is how you catch up after downtime. If you have lost your place, use created_after instead.
GET https://api.wovenfinance.com.au/platform-api/v1/events/EVENT_UUID/ reads one event as it was sent. View in API reference The reference lists, for each event type, the read that shows the current state of what it is about.
Run it safely
Keys per environment, retries that cannot double up, and what each error code means.
Keys, retries and errors
Send Authorization: Bearer YOUR_SERVER_KEY from your backend. The key tells us which platform you are and which records you can reach. Never put a server key in browser code. Develop and production have separate keys and separate records.
Send JSON bodies with Content-Type: application/json. The Node examples are for your backend, not a browser. There is no SDK yet, and the examples are plain HTTP on purpose.
Each new application needs its own Idempotency-Key. If a request times out, retry with the same key and the same body and you get the original result. Reusing a key with a different body returns 409. Other writes accept an idempotency key too. Keep observation and event IDs stable across retries.
| Status | Meaning |
|---|---|
400 | The data was invalid and nothing was written |
401 | The key was missing or wrong |
403 | The key is not allowed to do that |
404 | The record is not yours or does not exist |
429 | Slow down and wait for Retry-After |
Use a connector we set up
Use the shared API above unless we have set up a connector for your platform. A connector accepts the payload format we agreed with you and translates it into the same operations. We give you the connector’s versioned base URL, for example https://api.wovenfinance.com.au/platform-api/connectors/YOUR_CONNECTOR/v1, and you append the same paths, such as /applicants/. Authentication and responses are unchanged.
To check a connector payload without creating anything, POST /connectors/YOUR_CONNECTOR/v1/preview/ with operation (for example create-applicant) and payload. Mapping changes go through us, because an enabled version is frozen.
Next
Every operation, its fields and its response is in the API reference. Not a partner yet? Request access or email hello@wovenfinance.com.au.