POST
/
merchant
/
list
curl --request POST \
  --url https://development.knotapi.com/merchant/list \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "type": "card_switcher",
  "platform": "ios",
  "search": "<string>",
  "external_user_id": "<string>",
  "status": "<string>"
}'
{
  "id": 10,
  "name": "Uber",
  "logo": "https://knot.imgix.net/merchants/KBQ5j6cN010PPpwbO7RpKGyDrCpsZ91FRhwnZp5u.png"
}

Authorizations

Authorization
string
header
required

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.

Body

application/json

The input parameters required for retrieving merchants.

The body is of type object.

Response

200
application/json

Successful request.

The response is of type object.