Link enrolled cards to bank accounts (admin backfill)
| Time | Status | User Agent | |
|---|---|---|---|
| Make a request to see history. |
URL Expired
The URL for this request expired after 30 days.
subaccountId
uuid
required
The subaccount whose enrolled cards and bank accounts to match.
accept
string
enum
Defaults to application/json
Generated from available response content types
application/jsonapplication/problem+json
Allowed:
application/json``application/problem+json
``201 Backfill executed. Maps each bank account that gained links to the card ids linked in this run (empty object when nothing matched).
object
linked
object
required
bankAccountId -> cardIds linked in THIS run.
View Additional Properties
``400 The server cannot or will not process the request due to something that is perceived to be a client error
``401 Authentication credentials were either missing or incorrect
``403 Authentication credentials used do not have have permissions to perform the request
``500 The server encountered an unexpected condition that prevented it from fulfilling the request
curl --request POST \
--url https://api.astrada.co/bank-accounts/link-enrolled-cards \
--header 'accept: application/json' \
--header 'content-type: application/json'
{
"linked": {
"059d5e6a-cfb1-46e6-ab84-6586582b6b58": [\
\
"da28e1b8-c7a4-4575-b72f-3a88d6fe34df"\
\
]
}
}