Skerry/ Guides

A customer's members

Saying which Praecise people may open a customer in Skerry Business, with what role, and what you are told of what they do.

A customer you made with your key can be opened by its own people. You say which Praecise accounts may open it and with what role; each of them sees it in Skerry Business at one address. This page covers granting and removing, granting by address, the address to link to, what a member sees and may do, what you can limit, and what you are told.

Status: available, in sandbox and live alike. The code is lib/customer-members.ts, lib/customer-door.ts and lib/pure/customer-member.ts.

What a member is

A member is a Praecise account, tied to one customer of yours, with a role.

  • A person may be a member of any number of customers, of any number of platforms, and needs no organisation in Skerry.
  • You grant and remove. The person cannot add anybody, and sees nothing else of yours: not your other customers, keys, projects, endpoints or events.
  • Sign-in is the Praecise account, as everywhere. There is no invitation, code or sign-in page of Skerry's.

The calls

OperationScopeIdempotency-KeyMoves moneyWhat it does
POST /customers/{id}/membersmembers:writeoptionalnoLet a person open this customer in Skerry Business, or change what they hold.
GET /customers/{id}/membersmembers:readnonenoThe customer's members, oldest first, waiting ones included.
DELETE /customers/{id}/members/{member}members:writeoptionalnoRemove a member, named by the member's id or the person's subject.

{id} is the customer as on every other path: its id or your external_id. Granting and removing are for you, not for an agent: a call made as an agent is refused with 403 agent_not_permitted.

Grant, or change

POST /customers/{id}/members
{ "subject": "<the person's Praecise sub>", "role": "admin", "sections": ["verification", "payments"] }
field
subjectThe sub of the person's Praecise account. The account service issues one sub per person, so the sub in the ID token your own Praecise sign-in gave you is the one to send.
emailInstead of subject, when you only know an address. Exactly one of the two. See "When you only know an address".
roleowner, admin or member. Required. member sees. owner and admin see and act. The two differ in name only, so you can keep your own distinction.
sectionsOptional. The parts of the customer this person may open; left out or null means all of them. The names are in the table under "What a member sees and may do".
read_onlyOptional. Sections this person sees and never acts in, whatever the role, for example ["refunds"] where a refund must go through you. Each name must be one the person may open. Left out or null means none.

Granting again for the same person changes the role, the sections and read_only to what the call says; it never makes a second member. Idempotency-Key is honoured and not required. The answer:

{
  "object": "customer_member",
  "id": "<member id>",
  "customer_id": "<customer id>",
  "subject": "<the person's sub>",
  "email": null,
  "state": "active",
  "role": "admin",
  "sections": ["verification", "payments"],
  "read_only": null,
  "url": "https://business.skerry.xyz/customers/<customer id>",
  "arrived_at": null,
  "created_at": "2026-11-15T10:00:00.000Z",
  "updated_at": "2026-11-15T10:00:00.000Z"
}

A customer may have 50 members; past that the grant answers 409 member_limit. Members that are still waiting count.

List and remove

GET /customers/{id}/members answers { "data": [ ... ] }, oldest first.

DELETE /customers/{id}/members/{member} takes the member's id or the person's subject and answers { "id": "...", "removed": true }. It holds from the person's next request: what a member holds is read from the database on every request, nothing of Skerry's outlives it, and a page that was open stops answering.

Each grant, change and removal is in your audit trail (customer_member.grant, customer_member.remove) with the key that made it.

When you only know an address

Send email in place of subject. The member is kept with state: "waiting" and subject: null. The first time a Praecise account whose verified address is that one (compared without case) opens Skerry Business, the member is bound to that account: state becomes active and subject is filled in. From then on the address plays no part: the membership belongs to the account, so a later change of address at Praecise neither loses it nor moves it to somebody else. You are told by customer.member.arrived.

  • A grant by address is not an invitation. Skerry sends nothing and creates no account. A person who has no Praecise account gets one from the Praecise account service and nowhere else; a waiting member gives them none.
  • Binding needs the address to be verified in the ID token of that arrival. An unverified address binds nothing, however long it waits.
  • Prefer subject. A platform that signs its people in with Praecise always has it.
  • A waiting member is removed by its id.
  • If the same person was also granted by subject, that one stands and the waiting one is dropped when it would bind (customer.member.removed).
  • Skerry sends no mail about a grant. Telling the person, and linking them, is yours.
https://business.skerry.xyz/customers/{customer id}

{customer id} is the customer's id as the API answers it. A customer's id changes once, when the banking partner has made its own record of it; both values keep working in this address, so a stored link does not break. Your external_id is not accepted here: it is yours, and only unique within your account. The url of a member is this address, ready to use. The environment follows the customer, and the page says which it is.

who follows itwhat they get
Not signed in to PraeciseThe Praecise sign-in, then the page.
Signed in, a member of this customerThe customer.
Signed in, not a member (or removed, or no such customer)A plain page: "This customer is not yours to open." No second sign-in, and no hint whether the customer exists.

What a member sees and may do

sectionmemberowner, admin also
verificationThe identity check: its state and what is still asked forOpen the banking partner's hosted page to finish it
walletsThe custodied wallets, one wallet, its historyOpen a wallet *
accountsReceiving accounts and their deposit instructionsOpen a receiving account *; deactivate or reactivate one *
payeesPayeesAdd a payee *; pause or resume one
balancesBalances
paymentsPayments and one payment
refundsThe refunds of a paymentRefund a payment *
disputesDisputes and one disputeSend evidence for a dispute

* Confirmed with the person's passkey at the Praecise account, for exactly that action, each time. The API verifies the confirmation itself. These are the actions that move money or decide where it goes, and it is the confirmation Skerry asks of an organisation's own people for the same actions.

Your key can never do any of this for the person. No call lets a key act as a member, and no call accepts a confirmation from a key: it is made by the person's own passkey at the Praecise account and checked against that account. What a key does, it does as you, and the trail says so.

What you can limit: who (grant, remove), how much (role), which parts (sections), and which of those are seen only (read_only). A section that was not granted is absent from the page and refused by the API; a read_only section shows no actions and the API refuses them. Not offered to a member, whatever the role: payouts, conversions, mandates, agents, keys, limits, controls, and changing the customer's own details. Those stay yours, by your key.

Everything a member does runs through the same operations your key reaches, as that person: the audit trail names the Praecise account, and your events fire as they would for your own call. Verification, custody, accounts and moving money are done by the banking partner and the card processor, on their pages and in their names; Skerry instructs them and shows the result.

What you are told

EventConcernsWhen
customer.member.grantedcustomer_memberA person was made a member of a customer: they may open it in Skerry Business.
customer.member.updatedcustomer_memberA member's role, sections or read_only changed.
customer.member.arrivedcustomer_memberOnce per member: the person opened the customer, or the list of their customers, for the first time. For a member granted by address this is when it was bound to the person's Praecise account, so state is active and subject is filled in.
customer.member.removedcustomer_memberA member was removed, or a waiting member was dropped because the same person already held a membership of that customer.
customer.member.actedcustomer_memberA member did something in the customer, at the moment Skerry accepted it: actor names the person, method and path the operation, object_type and object_id what it concerned. Events about the object itself follow as for any call.

The four that are about a member carry the member, as the calls answer it. customer.member.acted carries who and what:

{
  "object": "customer_member_action",
  "actor": { "type": "member", "subject": "<the person's sub>", "member_id": "<member id>" },
  "customer_id": "<customer id>",
  "method": "POST",
  "path": "/customers/<customer id>/wallets",
  "object_type": "wallet",
  "object_id": "<wallet id>",
  "request_id": "<request id>"
}

Events about the thing itself (a wallet opened, a refund's outcome) are recorded on the banking partner's or the card processor's notice, where there is no caller, so they do not say who asked. customer.member.acted does, and names the same object; a call by your own key sends no such event. The customer's identity check is reported as it always was, by customer.verified, customer.rejected and customer.updated. See Events and webhooks.

What the person is told

Where Skerry's deployment has the account's feed switched on, a member also finds in the feed of their Praecise account what concerns them in the customer, each item opening the right page of Skerry Business: that they were given access (when granted by their account, or when they arrive after a grant by address); an identity check that needs something or was refused, a dispute that needs evidence and a payout that did not arrive, for members who may act on that part; money received that day and a payment a limit or control stopped, for members who may see it. Items that need action are finished when the thing is handled. A removed member's access item is withdrawn. A customer with no members has these items sent to the owners and admins of the Skerry account it belongs to instead. See account-feed.md.

Errors

statuscodewhen
400invalid_requestdetail.field names it: subject or email (neither, both, or malformed), role, sections (an unknown name, or an empty list), read_only (an unknown name, or one the person may not open)
403insufficient_scopeThe key lacks members:write or members:read
403agent_not_permittedThe call was made as an agent
404not_foundNo such customer of yours; on remove, no such member of it
409member_limitThe customer already has 50 members

Written and kept by Skerry. Read from https://api.skerry.xyz/guides/customer-members.md.

This page as Markdown