---
title: tm.paymentmethod
slug: db/tmpaymentmethod
createdAt: 2023-12-14T14:12:33.039Z
---

A payment method is the type of the actual payments carried out. Examples are: Cash, Creditcard or iDeal.

## Fields

| FIELD               | TYPE                          | DESCRIPTION                                                                                                                                                                                                            |
| ------------------- | ----------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| id                  | `int`                         | Unique ID                                                                                                                                                                                                              |
| name                | `mlstring`                    | Name of the payment method                                                                                                                                                                                             |
| internalremark      | `string`                      | Internal remark, will not be shown to customers                                                                                                                                                                        |
| paymentmethodtypeid | `int`                         | Type of the paymentmethod. For a list of possible types see [here](https://www.ticketmatic.com/docs/api/settings/ticketsales/paymentmethods)<br />**References:** [tm.paymentmethodtype](docId\:bSupyzVP_I2vc0jRVsFO_) |
| config              | `map[k:string t:map v:mixed]` | Specific configuration for the payment method, content depends on the payment method type.                                                                                                                             |
| createdts           | `timestamp`                   | Created timestamp                                                                                                                                                                                                      |
| lastupdatets        | `timestamp`                   | Last updated timestamp                                                                                                                                                                                                 |
| isarchived          | `bool`                        | Whether or not this item is archived                                                                                                                                                                                   |

