Retrieve Merchants

GET {{base_url}}/banking/v2/merchants

The ‘Get Merchants’ endpoint returns the list of merchants that are currently categorised by tomato pay. Merchant id and the merchant name are returned in the response.

Query Parameters

FieldTypeDescription
pageIdstringPage offset of results

Attributes

FieldTypeDescription
idstringUnique identifier for the merchant
namestringName of the merchant
categoryCodestringCode for the category
addressLinestringMerchant address (if available)

Request Params

KeyDatatypeRequiredDescription
pageIdnullPage offset for results

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
X-Api-Keystring
X-Partner-Idstring
Authorizationstring

RESPONSES

status: OK

{"results":[{"id":"categoryId1234","name":"Vitalityhealth","categoryCode":"","addressLine":""},{"id":"categoryId2345","name":"Google","categoryCode":"","addressLine":""},{"id":"categoryId3456","name":"Uber","categoryCode":"","addressLine":""}],"links":{}}