Retrieve Linkable Accounts

Retrieve the accounts that are available for linking for a LINKED counterparty via a provider such as MX or Plaid.

SecurityOAuth2: OAuth2Flow
Request
path Parameters
id
required
string

Counterparty ID

header Parameters
Authorization
string

OAuth bearer token (see authentication flows)

x-l2f-request-id
string

Optional Unique ID per request, useful for fault resolution/diagnosis and audit.

x-l2f-idempotency-id
string

Unique ID used to safely retry an operation. See idempotency section for more details.

Request Body schema: application/json
linking_provider
required
string

Which provider was used when generating linking instructions

member_guid
required
string

The member_guid from the mx/connect/memberConnected event generated in the UI by the mx widget

Responses
200

Success

400

Bad Request

401

Unauthorized

404

Not Found

500

Internal Error

post/v1/counterparties/{id}/link/accounts
Request samples
application/json
{
  • "linking_provider": "MX",
  • "member_guid": "string"
}
Response samples
application/json
{
  • "linking_provider": "MX",
  • "member_guid": "string",
  • "available_accounts": [
    ]
}
© 2023 Layer2 Financial Inc. All Rights Reserved.