Skip to main content

Overview

Create a linked account widget—a shareable URL that directs end users to link their payout method (bank, card, or international bank). Use this when you want users to add a linked account without initiating a withdrawal. The integration obtains an application token and URL, then redirects users to complete account linking.

Prerequisites

  • Valid access token

Endpoint

  • POST {{LIQUIDITY_URL}}/v1/ext/application-token
  • Auth: Bearer {{accessToken}}

Request

Request Body Fields

Response (200)

Response Fields

Important: Append entityId to the URL

Before redirecting your end user to the widget, you must add the customerId from the response to the URL as the entityId query parameter. Example: If the response returns:
  • url: https://sandbox.accounts.centryos.xyz/link-account/sATkWLobCODYbvJCC7asBYuCFVyvVI?t=...
  • customerId: MDMxNzMxZmQtOTAzMC00OTIxLTk3NmQtNjk3ZWU3Y2JjYzZi
Then the final URL you redirect the user to should be:
Use entityId={{customerId}} — append &entityId= followed by the customerId value from the response. Without this, the widget cannot associate the linked account with the correct customer.

Usage Flow

  1. Create linked account widget: Call this endpoint with useLinkAccountPath: true.
  2. Append entityId: Add entityId={{customerId}} to the returned url.
  3. Share or redirect: Redirect your end user to the final URL so they can link their bank, card, or international bank account.
  4. Post-linking: After linking, users can be redirected to your redirectTo URL, and you can use the linked account for payouts via Withdraw to Linked Account.

Notes

  • useLinkAccountPath: true ensures the URL goes directly to the account-linking flow (no withdrawal step).
  • Store customerId and use it to append entityId before redirecting users.
  • The link expires at data.application.expiredAt; create new links as needed.
  • Use redirectTo to send users to a thank-you or confirmation page after linking.