v1

latestOpenAPI 3.0.02026-07-263118119.8 KB
Bank Connection

linkAccountFromAggregator

Associates a user bank account with their AeroPay account.

This call is to be made after a user goes through an aggregator bank connection flow leveraging the URL from /v2/aggregatorCredentials endpoint. You will receive the connectionId as response attributes from the aggregator widget.

<details> <summary><strong>Error Glossary</strong> (click to expand)</summary>
CodeHTTP StatusMessage
AP101401No authenticated user
AP300200Unable to connect to bank
AP403200Bank not supported
AP404200Invalid routing number
AP408200Unknown aggregator
AP409200Invalid redirectURI
AP410200Error linking bank account
AP411200Invalid account type - connect a checking account
AP414200Maximum linked accounts reached
AP415200Bank account already linked
AP700400Missing or invalid required parameter
</details>
post/v2/linkAccountFromAggregator

Headers

Content-Typestring required
authorizationstring required

A userForMerchant scoped token.

Request body

connectionIdstring required

ConnectionId returned from Aerosync SDK

aggregator'aerosync' required

aerosync

Response

Success or Connection Failure

OR