Seat usage billing
For organizations on usage billing: starting and ending a seat per provider, what each plan bills, and how a month is counted.
If Twofold has set your organization up on usage billing, seats work differently from the seat subscription described on Access & seats: there is no seat total to buy and no cap. Your server starts a seat for each provider when they should have Twofold and ends it when they should not, and Twofold invoices your organization once a month for the seats that were in use. GET /v2/partner/seats tells you which billing mode you are on — billingMode is provider_seat_usage if this page applies to you.
The flow, in the order it happens
- You invite your team member inside your own product. Nothing reaches Twofold yet.
- They connect through the OAuth flow — the consent screen described in Authentication. The provider is now linked, at
READ_ONLY. Linking grants no access and bills nothing. - Your server calls
seat/startfor them, with a plan and a group. That call grantsFULL_ACCESS, opens the seat, and billing starts that day.
Two things follow from the order. A team member you invite who never connects is never charged — there is nothing to charge, because a seat can only start for a provider who has linked. And a seat is billed from the start call until it ends: through your seat/end call, or with the link — your revoke, or the provider disconnecting from their Twofold settings. No seat ends on a timer of its own.
Starting a seat
curl -X POST https://partner-api.trytwofold.com/v2/partner/users/provider-1042/seat/start \
-H "Authorization: Bearer twofold_key_prod_xxxxxxxxxxxx" \
-H "Twofold-Client-Id: prtn_ab12Cd34Ef56" \
-H "Content-Type: application/json" \
-d '{"plan": "monthly", "groupExternalId": "grp_8f31"}'curl -X POST https://partner-api.staging.trytwofold.com/v2/partner/users/provider-1042/seat/start \
-H "Authorization: Bearer twofold_key_staging_xxxxxxxxxxxx" \
-H "Twofold-Client-Id: prtn_ab12Cd34Ef56" \
-H "Content-Type: application/json" \
-d '{"plan": "monthly", "groupExternalId": "grp_8f31"}'{
"externalUserId": "provider-1042",
"twofoldUserId": "user_ab12Cd34Ef56",
"linkStatus": "active",
"accessLevel": "FULL_ACCESS",
"linkedAt": "2026-08-15T14:02:11.000Z",
"groupExternalId": "grp_8f31",
"seat": {
"plan": "monthly",
"startedAt": "2026-08-15T14:02:11.000Z",
"annualTermEndsAt": null
}
}{
"externalUserId": "provider-1042",
"twofoldUserId": "user_ab12Cd34Ef56",
"linkStatus": "active",
"accessLevel": "FULL_ACCESS",
"linkedAt": "2026-08-15T14:02:11.000Z",
"groupExternalId": "grp_8f31",
"seat": {
"plan": "monthly",
"startedAt": "2026-08-15T14:02:11.000Z",
"annualTermEndsAt": null
}
}planismonthlyorannual— what each one bills is below.groupExternalIdis your id for the group the provider belongs to. Twofold stores it and shows it back to you — on the user row, in the console and on the monthly breakdown — and never interprets it. Send it on every start; a start on an already-open seat updates the group without touching the seat.
The response is the same user row every administration endpoint returns, with two fields that only carry values on usage billing: groupExternalId, the last group you sent for this provider, and seat, the open seat or null. seat.startedAt is when the current seat started; seat.annualTermEndsAt is set on an annual seat and is described below.
seat/start is idempotent: starting a provider who already holds a seat on the same plan answers 200 and opens nothing. Sending plan: "annual" for a provider on a monthly seat switches them to annual the same day. The one refusal specific to this endpoint is annual_term_active, explained under the annual plan below.
A 404 / user_not_found means the provider has not connected yet, or their link was revoked. There is no seat to start until they complete the OAuth flow; if you are calling as soon as your own invitation goes out, wait for the link instead.
Ending a seat
curl -X POST https://partner-api.trytwofold.com/v2/partner/users/provider-1042/seat/end \
-H "Authorization: Bearer twofold_key_prod_xxxxxxxxxxxx" \
-H "Twofold-Client-Id: prtn_ab12Cd34Ef56"curl -X POST https://partner-api.staging.trytwofold.com/v2/partner/users/provider-1042/seat/end \
-H "Authorization: Bearer twofold_key_staging_xxxxxxxxxxxx" \
-H "Twofold-Client-Id: prtn_ab12Cd34Ef56"The open seat closes, the provider drops to READ_ONLY, and the row comes back with seat: null. Ending is idempotent and forgiving: a provider whose seat already ended, or who never had one, also answers 200 and is left as they are.
Revoking the link — POST /v2/partner/users/{externalUserId}/revoke, or the provider disconnecting from their Twofold settings — ends any open seat with it. If they link again later, the new link starts at READ_ONLY like any other and you start the seat again when you want them to have access.
What each plan bills
After each month, Twofold invoices your organization once for it: monthly seats × N and annual seats × M, at the prices in your contract, charged to the card your organization keeps on file with Twofold. Month boundaries are in America/New_York.
Monthly
A monthly seat is billed in periods anchored to the day it started: the start day, one month later, two months later, and so on, for as long as the seat is open. Each period is charged in the calendar month it starts in. There is no proration.
- Started 15 August, ended 10 September → one charge, in August's invoice. Nothing in September: the seat ended before the 15 September period would have started.
- Started 10 August, ended 20 August → one charge, in August's invoice.
- Started 20 July, still open → one charge every month: 20 July, 20 August, 20 September, …
- Started 10 August, ended 20 August, started again 5 September → charged in August and in September. A seat that ends and restarts in a later month starts a new anchored term.
Annual
An annual seat is charged for twelve months up front, in the invoice for the month the term started, and the term runs from that day. Ending the seat early stops the provider's access, not the term: nothing more is owed, and the twelve months stay paid for.
The term renews on its anniversary whenever the seat is still open at that instant, for another twelve months, in that month's invoice — a seat you leave open is billed every year. annualTermEndsAt on the seat is exactly that date: the instant the renewal turns on. End the seat before it to stop the renewal.
Inside a paid term you can start the same provider again at no charge by sending plan: "annual": the seat resumes the existing term and keeps its original anniversary rather than starting a new one. Sending plan: "monthly" for a provider whose paid term has not ended is refused with annual_term_active — the message carries the term's end date — because a monthly seat would double-bill a period you have already paid for. That also means there is no annual-to-monthly downgrade: an open annual seat always sits inside a live term, so the way down is seat/end, and then a monthly start once the term has ended. While a provider's seat is ended but their paid term is still live, the row shows seat: null; the term is visible only through that annual_term_active refusal, and through annualTermEndsAt once you resume them.
The renewal is a cliff, so here it is worked through two days apart. A provider's annual seat started on 3 August 2026, so the term is paid through 3 August 2027. You ended their seat on 1 September 2026 and resumed it on 20 October 2026 with plan: "annual" — free, and the anniversary stays 3 August 2027.
- If you end the seat on 1 August 2027, two days before the anniversary, the term lapses and nothing more is owed.
- If the seat is still open on 3 August 2027, the term renews: August 2027's invoice carries a second year, paid through 3 August 2028, and
annualTermEndsAtmoves to that date.
Once a term has lapsed with no seat open, a later annual start is a fresh term and is charged again.
Switching a monthly seat to annual
Send seat/start with plan: "annual". The monthly seat closes and an annual one opens the same day. In that month the provider is charged as annual only — a monthly period that started in the same month is dropped, never added on top.
One charge per person per month
However many times a seat is ended and restarted inside a month, a provider is charged at most once for a monthly seat and at most once for an annual seat in that month, and never both.
A seat follows the person, not the id
Seats are counted by the provider's Twofold account, not by your externalUserId and not by the link. If you revoke a provider and later re-provision them under a new externalUserId, they are the same seat for billing: one monthly charge a month across both ids, and a paid annual term they held under the old id follows them to the new one. That has one consequence worth knowing in advance — annual_term_active can come back for an externalUserId you have never started a seat for, when the person behind it holds a live annual term from a previous id. Resume them with plan: "annual" as above.
The externalUserId and the group are still recorded on every seat and shown everywhere, so you can reconcile our invoice against your own records by the ids you use.
A worked month
Six providers, one August invoice:
| Provider | What happened | August charge | September charge |
|---|---|---|---|
provider-1001 | Monthly seat started 15 August, ended 10 September | 1 monthly | — |
provider-1002 | Monthly seat started 10 August, ended 20 August | 1 monthly | — |
provider-1003 | Monthly seat started 20 July, still open | 1 monthly (20 August) | 1 monthly (20 September) |
provider-1004 | Annual seat started 3 August | 1 annual | — |
provider-1005 | Monthly seat since 15 July, switched to annual on 20 August | 1 annual | — |
provider-1006 | Linked in July, seat never started | — | — |
August's invoice: 3 monthly seats and 2 annual seats. provider-1005 is not charged a monthly period for August even though one would have started on 15 August — the annual charge replaces it. provider-1006 costs nothing until you start their seat.
Your card and receipts
Twofold invoices your organization once a month for the previous month and charges the card it keeps on file for you, and every charge comes with a receipt. You put that card on file yourself: on the Seats page of the partner console, Add a card opens a Stripe-hosted page, and the card is on file the moment you come back. Nothing can be invoiced until there is one, and the console's go-live checklist says so. Receipts and replacing the card are behind Manage billing on the same page. Staging behaves exactly the same way and bills nothing — its card page takes a test card like 4242 4242 4242 4242 — so you can rehearse the whole flow — start, switch plans, end, re-provision — before anything is billed for real.