Skip to main content
GET
/
partner
/
merchants
curl https://api.thanxsandbox.com/partner/merchants \
  -H 'X-ClientId: ${client_id}' \
  -H 'Accept-Version: v4.0' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer ${access_token}' \
{
  "merchants": [
    {
      "id": "k2lye10h32l5wzo",
      "name": "Pizza Company",
      "handle": "pizzacompany"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.thanx.com/llms.txt

Use this file to discover all available pages before exploring further.

This endpoint can be used to fetch the IDs of all merchants that are currently accessible to the integration partner.
curl https://api.thanxsandbox.com/partner/merchants \
  -H 'X-ClientId: ${client_id}' \
  -H 'Accept-Version: v4.0' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer ${access_token}' \

Response

id
string
Merchant ID
handle
string
Merchant Handle. This is used as a long-lived unique descriptive identifier for the merchant across the Thanx platform.
name
string
Merchant Name
{
  "merchants": [
    {
      "id": "k2lye10h32l5wzo",
      "name": "Pizza Company",
      "handle": "pizzacompany"
    }
  ]
}