Party links and email codes
Payers and payees are not dashboard users. Each opens a link to a portal page for one mandate. The portal carries the tenant's brand and the tenant's words for the parties and stages.
How a link looks#
A link is {PORTAL}/p/<tenant-slug>#t=<token>. The token is in the part after #, which a browser never sends to a server. The portal reads it, removes it from the address bar before anything else runs, and exchanges it for a portal session that lasts 30 minutes. If the session lapses while the page is open, the portal silently exchanges again.
An invitation link works until its expiry (1 to 30 days) and carries no IP address or device binding, so a party can open it from a phone and later from a laptop. If a link has expired or been revoked, the portal shows a screen with Send me a new link: it emails fresh links to the party's verified address, whatever address the old link went to.
Who sends links#
| Delivery | Who sends it | Notes |
|---|---|---|
| Holdyn email | Holdyn, as an email from the tenant's brand | The default. Sent at send time. Every later action email (a debit coming up, a stage to review, a dispute) carries its own fresh link. |
| Tenant-delivered | The tenant, through POST /mandates/:id/grants or notify_parties: false | In test mode, always possible. In live mode only if an owner turned on tenant-delivered links. The parties are told in their terms and each issued link is announced to them. |
A tenant-delivered link in live mode is shown once in the API response. If the response is replayed it comes back redacted. Issue a new link if you lost it.
When a party needs an emailed code#
Money-moving actions can require a six-digit code sent to the party's verified email address:
- accepting terms, or accepting an amendment, cancellation or reschedule;
- setting up or replacing a payment method;
- paying now or paying ahead;
- approving a stage;
- creating or accepting a proposal that moves money;
- accepting a confirmed outside outcome early;
- withdrawing a dispute;
- giving consent to a backup card.
A code is required when the tenant's setting asks for it (on by default in live mode, off in test) or when the link was delivered by the tenant in live mode. The flow is: the action answers 403 otp_required, the portal asks POST /portal/otp/send, the party enters the code, POST /portal/otp/verify returns a new session, and that session covers money-moving actions for 15 minutes. A code lasts 10 minutes and allows 5 tries. After 10 failed tries in 24 hours for one party and mandate, codes are locked for 24 hours, the party is emailed and the tenant gets an inbox item.
What never needs a code#
Protective actions are never held behind a code, because a party must always be able to stop or question something:
- raise a dispute,
- ask for changes,
- reject evidence,
- decline terms,
- reject an amendment or a proposal,
- withdraw consent to a backup card,
- remove a payment method,
- upload evidence,
- add a note to a dispute.
Changing a party's email#
A contact change on a party with a live mandate needs a confirmation by the new address, through a link in {PORTAL}/p/<slug>/confirm-email. When it is confirmed, every link delivered to the old address is revoked and automatic approval is unblocked for that party. A bounced or complained address is shown to the tenant as a blocker with a fix, never skipped silently.
What the tenant sees#
Holdyn tells the tenant which links were issued, which were opened and which emails bounced. Automation that depends on notice (automatic approval, debits triggered by events) shows the notice it relies on and its delivery state. See The participant portal.
