Create an Account Link
Creates an Account Link containing a short-lived, single-use Paypercut URL. Redirect the connected account's representative to this URL to start or resume hosted onboarding.
If the link expires or cannot be used, send the representative to refresh_url, where your integration must create a new Account Link before redirecting them again. Reaching return_url does not mean onboarding or verification is complete.
- Type: stringIdempotency
- Key max length:255Provide a unique, stable key per operation so retries don't create duplicates. Allowed: letters, digits, colon, dash, underscore, dot. Max 255 characters.
Request to create an Account Link for an existing connected account.
- Type: stringaccountmin length:1max length:100required
ID of the existing connected account to onboard.
- enumtypeconst:account_onboardingrequired
Account Link flow to create.
values- account
_onboarding Collects outstanding requirements through hosted onboarding.
- Type: stringrefresh
_url min length:1max length:2048Format: urirequiredURL used when the Account Link expires or cannot be used. Your integration must create a new Account Link before redirecting the representative again.
Use an absolute HTTPS URL without user information or fragments. HTTP is accepted only for loopback hosts during local development.
- Type: stringreturn
_url min length:1max length:2048Format: urirequiredURL used when the hosted interaction ends. Reaching this URL does not mean onboarding or verification is complete.
Use an absolute HTTPS URL without user information or fragments. HTTP is accepted only for loopback hosts during local development.
- Type: object ·collection
_options Requirements to collect during hosted onboarding.
- Type: stringlocalemin length:2max length:35
Preferred IETF language tag for hosted onboarding. When omitted, Paypercut uses the Account's default locale when available.
The locale applies when a new onboarding session is created. An active session resumes with its existing locale.
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
curl https://api.paypercut.io/v1/account_links \
--request POST \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--data '{
"account": "acct_123",
"type": "account_onboarding",
"refresh_url": "https://example.com/connect/refresh",
"return_url": "https://example.com/connect/return",
"collection_options": {
"fields": "currently_due"
},
"locale": "en-GB"
}'
{
"object": "account_link",
"created": "2026-09-15T09:00:00Z",
"expires_at": "2026-09-15T09:10:00Z",
"url": "https://connect.paypercut.io/setup/c/acct_123/example-token"
}
