query MerchantCategories {
merchantCategories {
code
description
}
}
curl --request POST \
--url https://api.sandbox.com/graphql \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <YOUR_ACCESS_TOKEN>' \
--data '{
"query": "query MerchantCategories {\n merchantCategories {\n code\n description\n }\n}"
}'
{
"data": {
"merchantCategories": {
"code": "example",
"description": "example"
}
}
}
Boarding
merchantCategories
Retrieves merchant categories.
query MerchantCategories {
merchantCategories {
code
description
}
}
curl --request POST \
--url https://api.sandbox.com/graphql \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <YOUR_ACCESS_TOKEN>' \
--data '{
"query": "query MerchantCategories {\n merchantCategories {\n code\n description\n }\n}"
}'
{
"data": {
"merchantCategories": {
"code": "example",
"description": "example"
}
}
}
Query
Arguments
No arguments.Return type
[MerchantCategoryOutput!]!
String!
required
Unique ISO four digit value used to classify merchants and their transactions into specific
categories based on the type of business, trade or services supplied.
String!
required
query MerchantCategories {
merchantCategories {
code
description
}
}
curl --request POST \
--url https://api.sandbox.com/graphql \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <YOUR_ACCESS_TOKEN>' \
--data '{
"query": "query MerchantCategories {\n merchantCategories {\n code\n description\n }\n}"
}'
{
"data": {
"merchantCategories": {
"code": "example",
"description": "example"
}
}
}
Was this page helpful?