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
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
- Create linked account widget: Call this endpoint with
useLinkAccountPath: true. - Append entityId: Add
entityId={{customerId}}to the returnedurl. - Share or redirect: Redirect your end user to the final URL so they can link their bank, card, or international bank account.
- Post-linking: After linking, users can be redirected to your
redirectToURL, and you can use the linked account for payouts via Withdraw to Linked Account.
Notes
useLinkAccountPath: trueensures the URL goes directly to the account-linking flow (no withdrawal step).- Store
customerIdand use it to appendentityIdbefore redirecting users. - The link expires at
data.application.expiredAt; create new links as needed. - Use
redirectToto send users to a thank-you or confirmation page after linking.