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"
}
'List Merchants
Retrieve a list of available merchants.
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"
}
'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.
Body
The input parameters required for retrieving merchants.
Product for which the merchants are available.
card_switcher, transaction_link, shopping, vault, subscription_manager "card_switcher"
Platform for which the merchants are available.
ios, android, web "ios"
Name of a specific merchant.
Response
Successful request.
- With platform in the request · object[]
- Without platform in the request · object[]
Static unique ID of the merchant (across all environments). This ID remains constant and does not change.
10
Name of the merchant.
"Uber"
Category of the merchant.
"Transportation"
Logo URL for the merchant.
"https://knot.imgix.net/merchants/KBQ5j6cN010PPpwbO7RpKGyDrCpsZ91FRhwnZp5u.png"
Whether the merchant is a popular merchant amongst your unique audience.
true
The minimum SDK version (on the platform provided in the request) for which the merchant is available.
"2.0.5"
Was this page helpful?