Skip to main content
GET
Retrieve a merchant

Authorizations

X-API-Key
string
header
required

User API key authentication. Create a key under Settings → API keys in the Slash dashboard (https://app.slash.com/global-settings/api-keys) and send the x-legal-entity header naming the legal entity to act on with every request. Keys scoped to a legal entity are rejected with 403 user_api_key_required.

Headers

The legal entity to act on. Required on every request; a user API key can act on any legal entity its user has access to.

Pattern: ^le_[a-zA-Z0-9]+$

Path Parameters

merchantId
string
required

Merchant id with the merchant_v2_ prefix.

Response

The merchant.

A merchant card controls can allow or block by id.

id
string
required

Merchant id with the merchant_v2_ prefix.

Example:

"merchant_v2_2rj4l7hmrrrcv"

name
string
required
Example:

"Meta"

url
string
Example:

"https://meta.com"

categoryId
string

The merchant category the merchant belongs to, with the merchant_category_ prefix.

Example:

"merchant_category_2rj4l7hmrrrcv"