# PaymentMethod

> The `PaymentMethod` object.

Source: https://docs.gastrogate.io/docs/api/types/PaymentMethod

**Kind:** Objects

## Fields

### `id`

[`ID`](https://docs.gastrogate.io/docs/api/types/ID.md)!

### `attribute`

[`JSONValue`](https://docs.gastrogate.io/docs/api/types/JSONValue.md)

| Name | Type | Description |
| --- | --- | --- |
| `key` | [`String`](https://docs.gastrogate.io/docs/api/types/String.md)! |  |

### `iconUrl`

[`URL`](https://docs.gastrogate.io/docs/api/types/URL.md)

### `isLegacy`

[`Boolean`](https://docs.gastrogate.io/docs/api/types/Boolean.md)

### `name`

[`String`](https://docs.gastrogate.io/docs/api/types/String.md)

### `paymentProvider`

[`PaymentProvider`](https://docs.gastrogate.io/docs/api/types/PaymentProvider.md)

### `receiptPaymentMethodLabel`

[`String`](https://docs.gastrogate.io/docs/api/types/String.md)

Required permission: RestaurantReportRead

### `sieAccountNumber`

[`SieAccountNumber`](https://docs.gastrogate.io/docs/api/types/SieAccountNumber.md)

Required permission: RestaurantReportRead

## How to get it

This type is returned by:

- [`createPaymentMethod`](https://docs.gastrogate.io/docs/api/mutations/createPaymentMethod.md) (mutation)
- [`updatePaymentMethod`](https://docs.gastrogate.io/docs/api/mutations/updatePaymentMethod.md) (mutation)
- [`Restaurant.paymentMethod`](https://docs.gastrogate.io/docs/api/types/Restaurant.md#paymentmethod) (field on [`Restaurant`](https://docs.gastrogate.io/docs/api/types/Restaurant.md))
- [`Restaurant.paymentMethods`](https://docs.gastrogate.io/docs/api/types/Restaurant.md#paymentmethods) (field on [`Restaurant`](https://docs.gastrogate.io/docs/api/types/Restaurant.md))
- [`PaymentIntent.paymentMethod`](https://docs.gastrogate.io/docs/api/types/PaymentIntent.md#paymentmethod) (field on [`PaymentIntent`](https://docs.gastrogate.io/docs/api/types/PaymentIntent.md))
- [`Till.paymentMethods`](https://docs.gastrogate.io/docs/api/types/Till.md#paymentmethods) (field on [`Till`](https://docs.gastrogate.io/docs/api/types/Till.md))
