# PaymentMethod

> View the coverage for payment methods in the <a className="external" href="https://knowledge.codat.io/supported-features/accounting?view=tab-by-data-type&dataType=paymentMethods" target="_blank">Data coverage explorer</a>.

## Overview

A Payment Method represents the payment method(s) used to pay a Bill. Payment Methods are referenced on [Bill Payments](https://docs.codat.io/accounting-api#/schemas/BillPayment) and [Payments](https://docs.codat.io/accounting-api#/schemas/Payment).


## Fields

| Field                                                                           | Type                                                                            | Required                                                                        | Description                                                                     | Example                                                                         |
| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- |
| `id`                                                                            | *string*                                                                        | :heavy_minus_sign:                                                              | Unique identifier for the payment method.                                       |                                                                                 |
| `metadata`                                                                      | [shared.Metadata](../../../sdk/models/shared/metadata.md)                       | :heavy_minus_sign:                                                              | N/A                                                                             |                                                                                 |
| `modifiedDate`                                                                  | *string*                                                                        | :heavy_minus_sign:                                                              | N/A                                                                             | 2022-10-23 00:00:00 +0000 UTC                                                   |
| `name`                                                                          | *string*                                                                        | :heavy_minus_sign:                                                              | Name of the payment method.                                                     |                                                                                 |
| `sourceModifiedDate`                                                            | *string*                                                                        | :heavy_minus_sign:                                                              | N/A                                                                             | 2022-10-23 00:00:00 +0000 UTC                                                   |
| `status`                                                                        | [shared.PaymentMethodStatus](../../../sdk/models/shared/paymentmethodstatus.md) | :heavy_minus_sign:                                                              | Status of the Payment Method.                                                   |                                                                                 |
| `type`                                                                          | [shared.PaymentMethodType](../../../sdk/models/shared/paymentmethodtype.md)     | :heavy_minus_sign:                                                              | Method of payment.                                                              |                                                                                 |