Retrieve Merchant (by id)
GET {{base_url}}/banking/v2/merchants/:merchantId
The ‘Get Merchant by id’ endpoint returns the merchant linked to the corresponding merchant id that has been passed as a param.
Path variables
Field | Type | Description |
---|
merchantId | string | Unique identifier for the merchant |
Attrributes
Field | Type | Description |
---|
id | string | Unique identifier for the merchant |
name | string | Name of the merchant |
categoryCode | string | Code for the category |
addressLine | string | Merchant address (if available) |
Error messages
Condition | Response Status | Response Body |
---|
Invalid merchantId | 404 Not Found | |
Key | Datatype | Required | Description |
---|
Content-Type | string | | |
X-Api-Key | string | | |
X-Partner-Id | string | | |
Authorization | string | | |
RESPONSES
status: OK
{"id":"merchantId1234","name":"Google","categoryCode":"","addressLine":""}