Learn how to generate an external authentication link for a company’s mobile number using the SynchPay API.
/company/{companyReferenceId}/externalauthlink
endpoint allows you to generate a one-time URL that you can use to link bank accounts.
Obtain an Access Token
/auth/token
endpoint with your ClientId
and ClientSecret
.Prepare the Company Reference
companyReferenceId
—this can be either a GUID (CompanyId
) or a custom reference string.Submit the Mobile Number
MobileNumber
(in E.164 format) in the request body.Receive the Auth Link
ExternalAuthLinkUrl
that you can use to link accounts.https://api.synchpay.com/company/{companyReferenceId}/externalauthlink
POST
Bearer <AccessToken>
/auth/token
using your ClientId
and ClientSecret
.Parameter | Type | Description | Required |
---|---|---|---|
companyReferenceId | string | The company’s unique identifier—either its GUID (CompanyId ) or a custom reference string. | Yes |
Parameter | Type | Description | Required |
---|---|---|---|
MobileNumber | string | Customer’s mobile number in E.164 format (e.g. “+15551234567”). | Yes |
Property | Type | Description |
---|---|---|
externalAuthLinkUrl | string | A fully-formed URL that allow for linking bank accounts. |