> 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-by-id.md).

# Get Submerchants By Id

## 11.2 Get Submerchants By Id

**Request**

| Method | URL                       |
| ------ | ------------------------- |
| GET    | /submerchant-rewards/{id} |

**Response**

| Status | Response                                                                                                                                                                                                                      |
| ------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 200    | <p>{</p><p>"data": {</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> |
| 403    |                                                                                                                                                                                                                               |
| 400    |                                                                                                                                                                                                                               |
| 401    |                                                                                                                                                                                                                               |
| 401    |                                                                                                                                                                                                                               |
| 500    |                                                                                                                                                                                                                               |

<br>
