%PDF- %GIF98; %PNG;
Server : ApacheSystem : Linux host.digitalbabaji.in 4.18.0-513.11.1.el8_9.x86_64 #1 SMP Wed Jan 17 02:00:40 EST 2024 x86_64 User : addictionfreeind ( 1003) PHP Version : 7.2.34 Disable Function : exec,passthru,shell_exec,system Directory : /home/addictionfreeind/www/admin1/vendor/square/square/doc/models/ |
Upload File : |
# List Merchants Response
The response object returned by the [ListMerchant](/doc/apis/merchants.md#list-merchants) endpoint.
## Structure
`ListMerchantsResponse`
## Fields
| Name | Type | Tags | Description | Getter | Setter |
| --- | --- | --- | --- | --- | --- |
| `errors` | [`?(Error[])`](/doc/models/error.md) | Optional | Information on errors encountered during the request. | getErrors(): ?array | setErrors(?array errors): void |
| `merchant` | [`?(Merchant[])`](/doc/models/merchant.md) | Optional | The requested `Merchant` entities. | getMerchant(): ?array | setMerchant(?array merchant): void |
| `cursor` | `?int` | Optional | If the response is truncated, the cursor to use in next request to fetch next set of objects. | getCursor(): ?int | setCursor(?int cursor): void |
## Example (as JSON)
```json
{
"merchant": [
{
"business_name": "Apple A Day",
"country": "US",
"currency": "USD",
"id": "DM7VKY8Q63GNP",
"language_code": "en-US",
"main_location_id": "9A65CGC72ZQG1",
"status": "ACTIVE"
}
]
}
```