Odoo 19.0 Community · Persistent

pos.payment.method: fields, relations and API

The pos.payment.method model ("Point of Sale Payment Methods") is a persistent model declared by the Point of Sale module, then extended by 23 other modules. It exposes 93 fields, 87 of them declared directly on the model; 13 fields from other models point to it. Below you will find every field with its technical name, type, label and relations, followed by an Odoo 19 JSON-2 API call.

Model identity

Technical name
pos.payment.method
Label
Point of Sale Payment Methods
Type
Persistent (models.Model)
SQL table
pos_payment_method
Origin module
Point of Sale (point_of_sale)
Extended by
pos_adyen, pos_cashdro, pos_cashmatic, pos_dpopay, pos_glory_cash, pos_mercado_pago, pos_mollie, pos_online_payment, pos_self_order, pos_online_payment_self_order, pos_pine_labs, pos_qfpay, pos_razorpay, pos_restaurant_adyen, pos_stripe, pos_safaricom, pos_self_order_adyen, pos_self_order_pine_labs, pos_self_order_qfpay, pos_self_order_razorpay, pos_self_order_stripe, pos_viva_com, pos_self_order_viva_com
Default order (_order)
sequence, id
Inherits from (mixins)
pos.load.mixin

Model fields

87 own fields, 0 inherited from mixins and 6 automatic ORM fields. Click a name to get a direct link to that field.

93 of 93 fields shown

Technical nameLabelTypeDetails
activeActiveboolean
adyen_api_keyAdyen API key

Used when connecting to Adyen: https://docs.adyen.com/user-management/how-to-get-the-api-key/#description

char

added by POS Adyen (pos_adyen)

adyen_event_urlEvent URL

This URL needs to be pasted on Adyen's portal terminal settings.

char
read-only

added by POS Adyen (pos_adyen)

adyen_latest_responseAdyen Latest Responsechar

added by POS Adyen (pos_adyen)

adyen_merchant_accountAdyen Merchant Account

The POS merchant account code used in Adyen

char

added by POS Restaurant Adyen (pos_restaurant_adyen)

adyen_terminal_identifierAdyen Terminal Identifier

[Terminal model]-[Serial number], for example: P400Plus-123456789

char

added by POS Adyen (pos_adyen)

adyen_test_modeAdyen Test Mode

Run transactions in the test environment.

boolean

added by POS Adyen (pos_adyen)

business_short_codeBusiness Short Code

The business short code and till number combination as 'shortcode-tillnumber' (ex: 123456-789012)

char

added by POS Safaricom (pos_safaricom)

cashdro_ipCashdro IPchar

added by POS Cashdro Cash Machines (pos_cashdro)

cashdro_passwordCashdro Passwordchar

added by POS Cashdro Cash Machines (pos_cashdro)

cashdro_use_lnaCashdro Local Network Accessboolean

added by POS Cashdro Cash Machines (pos_cashdro)

cashdro_usernameCashdro Usernamechar

added by POS Cashdro Cash Machines (pos_cashdro)

cashmatic_ipCashmatic IPchar

added by POS Cashmatic Cash Machines (pos_cashmatic)

cashmatic_passwordCashmatic Passwordchar

added by POS Cashmatic Cash Machines (pos_cashmatic)

cashmatic_use_lnaCashmatic Local Network Accessboolean

added by POS Cashmatic Cash Machines (pos_cashmatic)

cashmatic_usernameCashmatic Usernamechar

added by POS Cashmatic Cash Machines (pos_cashmatic)

company_idCompanymany2one
config_idsPoint of Salemany2many
consumer_keyConsumer Keychar

added by POS Safaricom (pos_safaricom)

consumer_secretConsumer Secretchar

added by POS Safaricom (pos_safaricom)

default_pos_receivable_account_nameDefault Receivable Account Namechar

related: company_id.account_default_pos_receivable_account_id.display_name

default_qrDefault Qrchar
computed
dpopay_bearer_tokenDpopay Bearer Token

Bearer token used for authenticating requests. Automatically refreshed when expired.

char

added by PoS DPO Pay (pos_dpopay)

dpopay_chain_idDPO Pay Chain-ID

Enter the Chain-ID header value(e.g., DPO-DTM-Testing)

char

added by PoS DPO Pay (pos_dpopay)

dpopay_client_idDPO Pay Client ID

The Client ID provided by DPO Pay for authenticating requests.

char

added by PoS DPO Pay (pos_dpopay)

dpopay_client_secretDPO Pay Client Secret

The Client Secret provided by DPO Pay for secure access. Keep it confidential.

char

added by PoS DPO Pay (pos_dpopay)

dpopay_midDPO Pay Merchant ID

Enter the Merchant ID assigned by DPO Pay (e.g., 123456789012).

char

added by PoS DPO Pay (pos_dpopay)

dpopay_payment_modeDpopay Payment Mode

Choose allowed payment mode: Card - regular card payments Mobile Money - M-Pesa / Airtel Mobile Money

selection

Values: card (Card), momo (Mobile Money)

added by PoS DPO Pay (pos_dpopay)

dpopay_test_modeEnable Test Mode

Check this to use DPO Pay's sandbox environment for testing purposes.

boolean

added by PoS DPO Pay (pos_dpopay)

dpopay_tidDPO Pay Terminal ID

Enter the unique Terminal ID (TID) of your DPO Pay POS terminal (e.g., XXXXXXXX).

char

added by PoS DPO Pay (pos_dpopay)

glory_passwordCash Machine Passwordchar

added by POS Glory Cash Machines (pos_glory_cash)

glory_usernameCash Machine Usernamechar

added by POS Glory Cash Machines (pos_glory_cash)

glory_websocket_addressCash Machine IPchar

added by POS Glory Cash Machines (pos_glory_cash)

has_an_online_payment_providerHas An Online Payment Providerboolean
read-onlycomputed

added by Point of Sale online payment (pos_online_payment)

hide_qr_code_methodHide Qr Code Methodboolean
computed
hide_use_payment_terminalHide Use Payment Terminalboolean
computed
imageImageimage
is_cash_countCashboolean
computed, stored
is_online_paymentOnline Payment

Use this payment method for online payments (payments made on a web page with online payment providers)

boolean

added by Point of Sale online payment (pos_online_payment)

journal_idJournal

Leave empty to use the receivable account of customer. Defines the journal where to book the accumulated payments (or individual payment if Identify Customer is true) after closing the session. For cash journal, we directly write to the default account in the journal via statement lines. For bank journal, we write to the outstanding account specified in this payment method. Only cash and bank journals are allowed.

many2one
mollie_payment_provider_idMollie Payment Providermany2one

added by POS Mollie (pos_mollie)

mollie_terminal_idMollie Terminal IDchar

added by POS Mollie (pos_mollie)

mp_bearer_tokenProduction user token

Mercado Pago customer production user token: https://www.mercadopago.com.mx/developers/en/reference

char

added by POS Mercado Pago (pos_mercado_pago)

mp_id_point_smartTerminal S/N

Enter your Point Smart terminal serial number written on the back of your terminal (after the S/N:)

char

added by POS Mercado Pago (pos_mercado_pago)

mp_id_point_smart_completMp Id Point Smart Completchar

added by POS Mercado Pago (pos_mercado_pago)

mp_webhook_secret_keyProduction secret key

Mercado Pago production secret key from integration application: https://www.mercadopago.com.mx/developers/panel/app

char

added by POS Mercado Pago (pos_mercado_pago)

nameMethod

Defines the name of the payment method that will be displayed in the Point of Sale when the payments are selected.

char
requiredtranslatable
online_payment_provider_idsAllowed Providersmany2many

added by Point of Sale online payment (pos_online_payment)

open_session_idsPos Sessions

Open PoS sessions that are using this payment method.

many2many
computed
outstanding_account_idOutstanding Account

Account used as outstanding account when creating accounting payment records for bank payments.

many2one
passkeyPasskey

The passkey is used to generate the password for the STK Push

char

added by POS Safaricom (pos_safaricom)

payment_method_typeIntegrationselection
required

Values computed at runtime

pine_labs_allowed_payment_modePine Labs Allowed Payment Modes

Accepted payment modes by Pine Labs for transactions.

selection

Values: all (All), card (Card), upi (Upi)

added by POS Pine Labs (pos_pine_labs)

pine_labs_clientPine Labs Client ID

A client id issued directly to the merchant by Pine Labs.

char

added by POS Pine Labs (pos_pine_labs)

pine_labs_merchantPine Labs Merchant ID

A merchant id issued directly to the merchant by Pine Labs.

char

added by POS Pine Labs (pos_pine_labs)

pine_labs_security_tokenPine Labs Security Token

A security token issued directly to the merchant by Pine Labs.

char

added by POS Pine Labs (pos_pine_labs)

pine_labs_storePine Labs Store ID

A store id issued directly to the merchant by Pine Labs.

char

added by POS Pine Labs (pos_pine_labs)

pine_labs_test_modePine Labs Test Mode

Test Pine Labs transaction process.

boolean

added by POS Pine Labs (pos_pine_labs)

qfpay_latest_responseQfpay Latest Responsechar

added by POS QFPay (pos_qfpay)

qfpay_notification_keyQFPay Notification Keychar

added by POS QFPay (pos_qfpay)

qfpay_payment_typeQFPay Payment Typeselection

Values: card_payment (Visa/Mastercard), wx (WeChat Pay), alipay (Alipay), payme (PayMe), union (UnionPay QuickPass), fps (FPS), octopus (Octopus), unionpay_card (Unionpay Card), amex_card (American Express Card)

added by POS QFPay (pos_qfpay)

qfpay_pos_keyQFPay POS Keychar

added by POS QFPay (pos_qfpay)

qfpay_terminal_ip_addressQFPay Terminal IP Addresschar

added by POS QFPay (pos_qfpay)

qr_code_methodQR Code Format

Type of QR-code to be generated for this payment method.

selection

Values computed at runtime

razorpay_allowed_payment_modesRazorpay Allowed Payment Modes

Choose allow payment mode: All/Card/UPI or QR

selection

Values: all (All), card (Card), upi (UPI), bharatqr (BHARATQR)

added by POS Razorpay (pos_razorpay)

razorpay_api_keyRazorpay API Key

Used when connecting to Razorpay: https://razorpay.com/docs/payments/dashboard/account-settings/api-keys/

char

added by POS Razorpay (pos_razorpay)

razorpay_test_modeRazorpay Test Mode

Turn it on when in Test Mode

boolean

added by POS Razorpay (pos_razorpay)

razorpay_tidRazorpay Device Serial No

Device Serial No ex: 7000012300

char

added by POS Razorpay (pos_razorpay)

razorpay_usernameRazorpay Username

Username(Device Login) ex: 1234500121

char

added by POS Razorpay (pos_razorpay)

receivable_account_idIntermediary Account

Leave empty to use the default account from the company setting. Overrides the company's receivable account (for Point of Sale) used in the journal entries.

many2one
safaricom_payment_typePayment Typeselection

Values: mpesa_express (M-PESA Express), lipa_na_mpesa (Lipa na M-PESA)

added by POS Safaricom (pos_safaricom)

safaricom_test_modeTest Mode

Use sandbox environment

boolean

added by POS Safaricom (pos_safaricom)

sequenceSequenceinteger
split_transactionsIdentify Customer

Forces to set a customer when using this payment method and splits the journal entries for each customer. It could slow down the closing process.

boolean
stripe_serial_numberStripe Serial Number

[Serial number of the stripe terminal], for example: WSC513105011295

char

added by POS Stripe (pos_stripe)

typeTypeselection
computed

Values: cash (Cash), bank (Bank), pay_later (Customer Account)

use_payment_terminalUse a Payment Terminal

Record payments with a terminal on this journal.

selection

Values computed at runtime

viva_com_api_keyAPI Key

Log into Viva.com then navigate to Settings > API Access > Access credentials

char

added by PoS Viva.com (pos_viva_com)

viva_com_bearer_tokenViva Com Bearer Tokenchar

added by PoS Viva.com (pos_viva_com)

viva_com_client_idClient ID

Log into Viva.com then navigate to Settings > API Access > POS APIs Credentials

char

added by PoS Viva.com (pos_viva_com)

viva_com_client_secretClient secret

Log into Viva.com then navigate to Settings > API Access > POS APIs Credentials

char

added by PoS Viva.com (pos_viva_com)

viva_com_latest_responseViva Com Latest Responsejson

added by PoS Viva.com (pos_viva_com)

viva_com_merchant_idMerchant ID

Log into Viva.com then navigate to Settings > API Access > Access credentials

char

added by PoS Viva.com (pos_viva_com)

viva_com_terminal_idTerminal ID

[ID of the Viva.com terminal], e.g. 16002169

char

added by PoS Viva.com (pos_viva_com)

viva_com_test_modeTest mode

Run transactions in the test environment.

boolean

added by PoS Viva.com (pos_viva_com)

viva_com_webhook_endpointViva Com Webhook Endpointchar
read-onlycomputed

added by PoS Viva.com (pos_viva_com)

viva_com_webhook_verification_keyViva Com Webhook Verification Keychar

added by PoS Viva.com (pos_viva_com)

create_dateCreated ondatetime
read-onlyautomatic
create_uidCreated bymany2one
read-onlyautomatic
display_nameDisplay Namechar
read-onlycomputedautomatic
idIDinteger
read-onlyautomatic
write_dateLast Updated ondatetime
read-onlyautomatic
write_uidLast Updated bymany2one
read-onlyautomatic

Relations

Models linked from this model

Fields of other models pointing here

Reading this model through the API

Odoo 19 JSON-2 API call reading the first five records with real fields of the model. Replace the instance, database and API key with your own.

curl
curl -X POST "https://your-instance.odoo.com/json/2/pos.payment.method/search_read" \
  -H "Authorization: bearer $ODOO_API_KEY" \
  -H "X-Odoo-Database: your-db" \
  -H "Content-Type: application/json" \
  -d '{"domain":[],"fields":["name","payment_method_type","company_id","journal_id","mollie_payment_provider_id"],"limit":5}'
Python (requests)
import requests

BASE_URL = "https://your-instance.odoo.com/json/2"
headers = {"Authorization": f"bearer {API_KEY}", "X-Odoo-Database": "your-db"}

res = requests.post(
    f"{BASE_URL}/pos.payment.method/search_read",
    headers=headers,
    json={"domain": [], "fields": ["name","payment_method_type","company_id","journal_id","mollie_payment_provider_id"], "limit": 5},
)
res.raise_for_status()
print(res.json())
  • External API access requires Odoo's Custom plan.
  • XML-RPC and JSON-RPC will be removed in Odoo 22 (fall 2028): use JSON-2.
  • The access rights and record rules of the key's user apply.

Cite this tool

Writing a tutorial, internal documentation or a forum answer? Copy this link to send your readers to the up-to-date reference.

<a href="https://aidoo.ai/en/outils/explorateur-modeles-odoo/pos-payment-method">pos.payment.method (Odoo 19.0)</a>

Sources

Data verified on September 23, 2026 · Odoo 19.0 Community

Have an Odoo project, or want to put your ERP to work with AI? Let's talk

Implementation, custom module development, connecting Claude or ChatGPT to your data: tell us about your context and we will reply within 24 business hours.