> For the complete documentation index, see [llms.txt](https://magicpay.gitbook.io/magicpay-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://magicpay.gitbook.io/magicpay-documentation/submerchants/get-submerchants.md).

# Get Submerchants

## 11.1 Get Submerchants

**Request**

| Method | URL                  |
| ------ | -------------------- |
| GET    | /submerchant-rewards |

**Response**

| Status | Response                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| ------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 200    | <p>{</p><p>"data": \[</p><p>{</p><p>"id": 1,</p><p>"submerchant\_id": 1,</p><p>"merchant\_id": 1,</p><p>"product\_details": null,</p><p>"reward\_amount": 50.0,</p><p>"is\_approved": true,</p><p>"payment\_id": 1</p><p>},</p><p>{</p><p>"id": 2,</p><p>"submerchant\_id": 2,</p><p>"merchant\_id": 1,</p><p>"product\_details": null,</p><p>"reward\_amount": 50.0,</p><p>"is\_approved": true,</p><p>"payment\_id": 1</p><p>}</p><p>]</p><p>}</p> |
| 403    |                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| 400    |                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| 401    |                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| 401    |                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| 500    |                                                                                                                                                                                                                                                                                                                                                                                                                                                      |

<br>
