v1

latestOpenAPI 3.1.02026-07-262218115.4 KB

Get a user's merchant accounts linked to Knot.

get/accounts/get

Query parameters

external_user_idstring required

Your unique identifier for the user.

merchant_idinteger
Example:19

Unique identifier for a merchant. Used to return a single merchant account object.

type'card_switcher' | 'transaction_link' | 'vault'
Example:card_switcher

Product type for which you want to get the status of the most recent login attempt in lifecycle.status.

Response

Successful request. If you pass a merchant_id in the request, the response will be a single object, instead of an array.

OR

Example response

[
  {
    "merchant": {
      "id": 10,
      "name": "Uber",
      "logo": "https://knot.imgix.net/merchants/KBQ5j6cN010PPpwbO7RpKGyDrCpsZ91FRhwnZp5u.png"
    },
    "connection": {
      "scopes": [
        {
          "type": "update_card"
        }
      ]
    }
  }
]
All 22 operations