Skip to content

Docs: add SWIFT payout documentation to external-account examples#655

Closed
ls-bolt[bot] wants to merge 2 commits into
mainfrom
07-06-plan-swift-payout-docs
Closed

Docs: add SWIFT payout documentation to external-account examples#655
ls-bolt[bot] wants to merge 2 commits into
mainfrom
07-06-plan-swift-payout-docs

Conversation

@ls-bolt

@ls-bolt ls-bolt Bot commented Jul 6, 2026

Copy link
Copy Markdown

This PR has been claimed. The active PR is now #662.

Summary

Documents SWIFT payouts, which were previously absent from the narrative docs (only visible in the generated API-reference schema). Requested by shreya after a customer couldn't find how to do SWIFT payouts — and searching "SWIFT" in the docs turned up nothing.

  • New "SWIFT (International)" tab in the shared external-accounts snippet — renders on all four use-case sections (Payouts & B2B, Ramps, Rewards, Global P2P). Covers creating the SWIFT_ACCOUNT external account (the payout itself is the standard quote → execute flow).
  • Pointer in Core concepts → Currencies & Payment Rails, whose note previously implied rail selection is never explicit.

A dedicated "SWIFT Payouts" guide page was initially included but removed per shreya's feedback (excessive). Search still works without it: Mintlify indexes snippet tab titles per importing page — verified on production, where searching "PIX" surfaces the "Brazil" tab entries on all four External Accounts pages; "SWIFT (International)" will index the same way after deploy.

API mechanics verified against the OpenAPI spec and sparkcore: SWIFT is opted into via the account type (no request-level paymentRail param); SwiftAccountInfoBase requires swiftCode, bankName, country, and accountNumber or iban; SWIFT accounts are multi-currency (currency = what the destination account holds, may differ from country).

Deliberately out of scope (needs product input): which corridors are SWIFT-enabled, fees, and settlement times.

Test plan

  • python3 -m json.tool mintlify/docs.json — valid JSON
  • mint broken-links — no broken links introduced (24 pre-existing failures in untouched global-accounts snippets)
  • Rendered page verified on the Mintlify preview (screenshot in comments); examples mirror the spec's SwiftAccountInfoBase schema with a consistent Nigerian bank/BIC (Codex P2 fix)
  • Docs-only change — no openapi/ edits, so no rebundle needed

Private

Plan (S3, internal only)

Public

Adds SWIFT payout documentation to the external-accounts examples across all use-case sections.

Slack thread: https://lightsparkgroup.slack.com/archives/D0AH5T8FMGE/p1783379896777279


🤖 volatile-nonce-2(#2) | Feedback

@vercel

vercel Bot commented Jul 6, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

2 Skipped Deployments
Project Deployment Actions Updated (UTC)
grid-flow-builder Ignored Ignored Preview Jul 7, 2026 3:29pm
grid-wallet-demo Ignored Ignored Preview Jul 7, 2026 3:29pm

Request Review

@ls-bolt ls-bolt Bot added the bolt label Jul 6, 2026

akanter commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

This stack of pull requests is managed by Graphite. Learn more about stacking.

@ls-bolt ls-bolt Bot force-pushed the 07-06-plan-swift-payout-docs branch from 44c6a8a to 554444c Compare July 7, 2026 15:17
@ls-bolt ls-bolt Bot changed the title Plan: document SWIFT payouts in the Grid docs Docs: add SWIFT payout documentation (searchable guide + external-account examples) Jul 7, 2026
@mintlify

mintlify Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
Grid 🟢 Ready View Preview Jul 7, 2026, 3:22 PM

@ls-bolt

ls-bolt Bot commented Jul 7, 2026

Copy link
Copy Markdown
Author

Preview validation

The new page renders correctly on the Mintlify preview (SWIFT Payouts):

Rendered SWIFT Payouts page on the Mintlify preview

Search requirement ('SWIFT' must show up in docs search)

Heads-up for anyone testing on the preview: preview deployments have no search index — searching anything there (even "PIX") returns only the Ask-Assistant suggestion. Validated the mechanism against production instead:

  • Searching PIX on docs.lightspark.com returns page/heading/tab matches, including the "Brazil" tabs of the shared external-accounts snippet indexed once per importing section — the same structure this PR adds for SWIFT (a page titled "SWIFT Payouts" + a "SWIFT (International)" tab on four pages).
  • Searching SWIFT on production today returns only tangential hits (IBAN/SEPA pages containing swiftCode) — the gap this PR fixes.

So "SWIFT" search results will appear after merge + production deploy.

… tab

Per shreya's feedback the separate guide page was excessive. Search
discoverability is preserved: snippet tab titles are indexed per importing
page, so the SWIFT (International) tab surfaces on all four External
Accounts pages.

Co-Authored-By: shreyav <shreyav@users.noreply.github.com>
@ls-bolt ls-bolt Bot changed the title Docs: add SWIFT payout documentation (searchable guide + external-account examples) Docs: add SWIFT payout documentation to external-account examples Jul 7, 2026
@shreyav shreyav closed this Jul 7, 2026
shreyav added a commit that referenced this pull request Jul 7, 2026
## Summary

Documents SWIFT payouts, which were previously absent from the narrative
docs (only visible in the generated API-reference schema). Requested by
shreya after a customer couldn't find how to do SWIFT payouts — and
searching "SWIFT" in the docs turned up nothing.

- **New "SWIFT (International)" tab** in the shared external-accounts
snippet — renders on all four use-case sections (Payouts & B2B, Ramps,
Rewards, Global P2P). Covers creating the `SWIFT_ACCOUNT` external
account (the payout itself is the standard quote → execute flow).
- **Pointer in Core concepts → Currencies & Payment Rails**, whose note
previously implied rail selection is never explicit.

A dedicated "SWIFT Payouts" guide page was initially included but
removed per shreya's feedback (excessive). **Search still works without
it**: Mintlify indexes snippet tab titles per importing page — verified
on production, where searching "PIX" surfaces the "Brazil" tab entries
on all four External Accounts pages; "SWIFT (International)" will index
the same way after deploy.

API mechanics verified against the OpenAPI spec and sparkcore: SWIFT is
opted into via the account type (no request-level `paymentRail` param);
`SwiftAccountInfoBase` requires `swiftCode`, `bankName`, `country`, and
`accountNumber` **or** `iban`; SWIFT accounts are multi-currency
(`currency` = what the destination account holds, may differ from
`country`).

Deliberately out of scope (needs product input): which corridors are
SWIFT-enabled, fees, and settlement times.

## Test plan

- `python3 -m json.tool mintlify/docs.json` — valid JSON
- `mint broken-links` — no broken links introduced (24 pre-existing
failures in untouched global-accounts snippets)
- Rendered page verified on the Mintlify preview (screenshot in
comments); examples mirror the spec's `SwiftAccountInfoBase` schema with
a consistent Nigerian bank/BIC (Codex P2 fix)
- Docs-only change — no `openapi/` edits, so no rebundle needed

## Private

[Plan](https://s3.console.aws.amazon.com/s3/object/lightspark-dev-bolt-logs?prefix=jobs/volatile-nonce-2/plan.md)
(S3, internal only)

## Public
Adds SWIFT payout documentation to the external-accounts examples across
all use-case sections.

Slack thread:
https://lightsparkgroup.slack.com/archives/D0AH5T8FMGE/p1783379896777279

---
🤖
[volatile-nonce-2](https://zeus.dev.dev.sparkinfra.net/#/arc?id=volatile-nonce)[(#2)](https://zeus.dev.dev.sparkinfra.net/#/instance?id=volatile-nonce-2)
| [Feedback](https://zeus.dev.dev.sparkinfra.net/feedback)

Original PR: #655

---------

Co-authored-by: shreyav <shreyav@users.noreply.github.com>
@shreyav shreyav deleted the 07-06-plan-swift-payout-docs branch July 7, 2026 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants