# Payment Methods

Retrieve the list of available payment methods for a specific context.

### `GET /payment_methods` - List Payment Methods

#### Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| channelId | integer | Yes | Channel ID (e.g. 5 for POS) |
| restaurantId | integer | Yes | Restaurant ID |

#### Response

```json
{
  "status": 200,
  "data": [
    {
      "id": 144076,
      "code": "CreditCard",
      "label": "CB",
      "active": true
    }
  ]
}
```

##### Response Properties

Every field in the example is listed below. Explicit requiredness is shown when the endpoint contract defines it.

| Property | Type | Example | Description |
| --- | --- | --- | --- |
| status | integer | 200 | HTTP status code returned by the API. |
| data | array | \[…\] | Endpoint-specific response payload. |
| data\[\] | object | {…} | Endpoint-specific response payload. |
| data\[\].id | integer | 144076 | The id value. |
| data\[\].code | string | "CreditCard" | Machine-readable application code for the result. |
| data\[\].label | string | "CB" | The label value. |
| data\[\].active | boolean | true | The active value. |
