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>| Code | HTTP Status | Message |
|---|---|---|
| AP101 | 401 | No authenticated user |
| AP300 | 200 | Unable to connect to bank |
| AP403 | 200 | Bank not supported |
| AP404 | 200 | Invalid routing number |
| AP408 | 200 | Unknown aggregator |
| AP409 | 200 | Invalid redirectURI |
| AP410 | 200 | Error linking bank account |
| AP411 | 200 | Invalid account type - connect a checking account |
| AP414 | 200 | Maximum linked accounts reached |
| AP415 | 200 | Bank account already linked |
| AP700 | 400 | Missing or invalid required parameter |
post/v2/linkAccountFromAggregator
Request
- Base URLhttps://api.sandbox-pay.aero.inc
- Authnone declared. Required headers: Content-Type, authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Content-Typestring required
authorizationstring required
A userForMerchant scoped token.
Request body
Response
Success or Connection Failure
Changes
No recorded changes to this operation across all 2 revisions of this API.