default
merchant account without any extra effort.Admin keys | Merchant keys | |
---|---|---|
Access | All merchant accounts | One merchant account |
Header | Optional, defaults to default | Defaults to account associated to key |
Use case | Platforms calling the API on behalf of merchants | Merchants making their own API calls |
X-GR4VY-MERCHANT-ACCOUNT-ID
header. For example,
the following request fetches a list of buyers for the legendary-games-uk
account
on the legendary-games
instance.
X-GR4VY-MERCHANT-ACCOUNT-ID
header can be
omitted and the API will fall back to the default
merchant account ID.
Additionally, when using a merchant key the header can be omitted and the
API will fall back to the merchant account associated with the key.GET /api-logs
endpoint. Setting the
X-GR4VY-MERCHANT-ACCOUNT-ID
on this API will not have any effect.
X-GR4VY-MERCHANT-ACCOUNT-ID
for each request to this value. Without setting the ID explicitly its value will fall back to default
.