Get Merchant Accounts
Get a user’s merchant accounts linked to Knot.
This endpoint is used to retrieve an array of merchant accounts a given user currently has linked to Knot.
The endpoint returns an array of merchant accounts for a given user (specified in the request with external_user_id
) that are currently linked to Knot. If a user unlinked a merchant account with Unlink Merchant Account, it will not be returned.
You can choose to retrieve all merchant accounts for a user or a single merchant account by passing a specific merchant_id
in the request.
Authorizations
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
. Use your client_id
as the username
and your secret
as the password
value.
Query Parameters
Your unique identifier for the user.
Unique identifier for a merchant. Used to return a single merchant account object.
19
Task (login attempt) type for which you want to get the status in lifecycle.status
.
card_switcher
, transaction_link
"card_switcher"
Response
Successful request. If you pass a merchant_id in the request, the response will be a single object, instead of an array.
The response is of type Array · object[]
.
The response is of type Array · object[]
.
The response is of type object
.