POS Terminals
Administrative endpoints for POS terminals — the virtual POS records that connect the store to a payment gateway. Each record holds the gateway a payment is sent through, the service addresses of that gateway, and the credentials and gateway-specific options it needs.
A POS terminal is never chosen by the customer. Every card registered on the platform points at the terminals to use for its cash, installment, 3D secure and installment-with-3D payments, and the multi-currency records of a card point at further terminals per currency. At payment time the platform takes the terminal selected for the card, builds the gateway from the record, and sends the request to the stored service address.
Core Capabilities
1. Listing & Filtering
Retrieve a paginated list of POS terminals, ordered by identifier ascending.
Filter by identifier, name or code. All three filters match the whole value exactly; partial values return an empty page.
Order results with the
sortparameter, as described under Sorting.
2. Full CRUD
Register a terminal with its gateway, service addresses and configuration.
Fully or partially update an existing terminal.
Delete a terminal.
DELETEpermanently removes the record — there is no soft delete, and a terminal cannot be deactivated through this API. See Deleting a Terminal for what a deletion takes with it and when it is refused.
3. Uniqueness
The
slugcode identifies a terminal and must be unique across all terminals. A create or update that would repeat an existing code is rejected with<code> already exists.
Read and Write Representations
The gateway field is asymmetric. On create and update, send either the short gateway code (for example garanti) or the full gateway value listed beside it in the table below; both are accepted, and both are case-sensitive. On read the field is always returned as the full gateway value, never as the short code — so a client that writes garanti reads back omnicore.libs.payment_gateways.garanti.GarantiGateway.
Supported Gateways
garanti
omnicore.libs.payment_gateways.garanti.GarantiGateway
nestpay
omnicore.libs.payment_gateways.nestpay.NestpayGateway
cmi
omnicore.libs.payment_gateways.cmi.CMIGateway
posnet
omnicore.libs.payment_gateways.posnet.PosnetGateway
payu
omnicore.libs.payment_gateways.payu.PayUGateway
mastercard
omnicore.libs.payment_gateways.mastercard.MastercardGateway
masterpass
omnicore.libs.payment_gateways.masterpass.MasterpassGateway
bex
omnicore.libs.payment_gateways.bex.BexGateway
hyperpay
omnicore.libs.payment_gateways.hyper_pay.HyperpayGateway
payu_poland
omnicore.libs.payment_gateways.paymentsos.PayUPolandGateway
payu_romania
omnicore.libs.payment_gateways.paymentsos.PayURomaniaGateway
payu_ro
omnicore.libs.payment_gateways.payu_ro.PayuRoGateway
fastpay
omnicore.libs.payment_gateways.fastpay.FastPayGateway
maximumpay
omnicore.libs.payment_gateways.maximumpay.MaximumPayGateway
liqpay
omnicore.libs.payment_gateways.liqpay.LiqPayGateway
gpay
omnicore.libs.payment_gateways.gpay.GPayGateway
easypay
omnicore.libs.payment_gateways.easypay.EasyPayGateway
mobilexpress
omnicore.libs.payment_gateways.mobilexpress.MobilExpressGateway
mobilexpress_credit_card
omnicore.libs.payment_gateways.mobilexpress.MobilExpressCreditCardGateway
iyzico
omnicore.libs.payment_gateways.iyzico.IyzicoGateway
iyzico_bkm
omnicore.libs.payment_gateways.iyzico.IyzicoBKMGateway
finansbank
omnicore.libs.payment_gateways.finansbank.FinansBankGateway
denizbank
omnicore.libs.payment_gateways.denizbank.DenizBankGateway
yandex_money
omnicore.libs.payment_gateways.yandex_money.YandexMoneyGateway
paypal
omnicore.libs.payment_gateways.paypal.PaypalGateway
alpha
omnicore.libs.payment_gateways.alpha.AlphaGateway
dummypay
omnicore.libs.payment_gateways.dummypay.DummyPayGateway
ykb_credit
omnicore.libs.payment_gateways.ykb_credit.YKBCreditGateway
compay
omnicore.libs.payment_gateways.compay.ComPayGateway
compay_credit
omnicore.libs.payment_gateways.compay.ComPayCreditGateway
param
omnicore.libs.payment_gateways.param.ParamGateway
garanti_switch
omnicore.libs.payment_gateways.garanti_switch.GarantiSwitchGateway
pay_with_iyzico
omnicore.libs.payment_gateways.iyzico.PayWithIyzicoGateway
tompay
omnicore.libs.payment_gateways.tompay.TomPayGateway
iyzico_funds_transfer
omnicore.libs.payment_gateways.iyzico.IyzicoFundsTransferGateway
paycell
omnicore.libs.payment_gateways.paycell.PaycellGateway
posas_giftcard
omnicore.libs.payment_gateways.posas_giftcard.PosAsGiftCardGateway
multisafepay
omnicore.libs.payment_gateways.multisafepay.MultiSafepayGateway
garanti_credit
omnicore.libs.payment_gateways.garanti_credit.GarantiCreditGateway
multisafepay_direct
omnicore.libs.payment_gateways.multisafepay.MultiSafepayDirectGateway
ozan
omnicore.libs.payment_gateways.ozan.OzanGateway
netopia
omnicore.libs.payment_gateways.netopia.NetopiaGateway
teqpay
omnicore.libs.payment_gateways.teqpay.TeqPayGateway
payu_pl
omnicore.libs.payment_gateways.payu_pl.PayuPLGateway
stripe
omnicore.libs.payment_gateways.stripe.StripeGateway
bulut
omnicore.libs.payment_gateways.bulut.BulutGateway
fiba_credit
omnicore.libs.payment_gateways.fibabank.FibaCreditGateway
mobilexpress_hosted
omnicore.libs.payment_gateways.mobilexpress_hosted.MobilExpressHostedGateway
paymob
omnicore.libs.payment_gateways.paymob.PaymobGateway
tompay_credit
omnicore.libs.payment_gateways.tompay_credit.TompayCreditGateway
paytr
omnicore.libs.payment_gateways.paytr.PaytrGateway
payzee
omnicore.libs.payment_gateways.payzee.PayzeeGateway
mobilexpress_v8_cc
omnicore.libs.payment_gateways.mobilexpress_v8.MobilExpressV8CreditCardGateway
ykb_worldpay
omnicore.libs.payment_gateways.ykb_worldpay.YKBWorldPayGateway
extension
omnicore.libs.payment_gateways.payment_extension.PaymentExtensionClient
vakifbank
omnicore.libs.payment_gateways.vakifbank.VakifBankGateway
bulut_direct
omnicore.libs.payment_gateways.bulut.BulutDirectGateway
eren_card
omnicore.libs.payment_gateways.eren_card.ErenCardGateway
craftgate
omnicore.libs.payment_gateways.craftgate.CraftgateGateway
iyzico_saved_card
omnicore.libs.payment_gateways.iyzico.IyzicoSavedCardGateway
checkout
omnicore.libs.payment_gateways.checkout.CheckoutGateway
checkout_apple_pay
omnicore.libs.payment_gateways.checkout.CheckoutApplePayGateway
zip_credit
omnicore.libs.payment_gateways.zip_credit.ZipCreditGateway
mobilexpress_wire_transfer
omnicore.libs.payment_gateways.mobilexpress_v8.MobilExpressWireTransferGateway
payu_ro_paybyclick
omnicore.libs.payment_gateways.payu_ro.PayuRoByClickGateway
payu_ro_saved_card
omnicore.libs.payment_gateways.payu_ro.PayURoSavedCardGateway
paybyme
omnicore.libs.payment_gateways.paybyme.PaybymeGateway
sipay
omnicore.libs.payment_gateways.sipay.SipayGateway
paywall
omnicore.libs.payment_gateways.paywall.PaywallGateway
dummy_psp
omnicore.libs.payment_gateways.dummypay.DummyPSP
tap
omnicore.libs.payment_gateways.tap.TapGateway
qpay_tap
omnicore.libs.payment_gateways.tap.QpayTapGateway
tap_saved_card
omnicore.libs.payment_gateways.tap.TapSavedCardGateway
akbank
omnicore.libs.payment_gateways.akbank.AkbankGateway
hepsipay
omnicore.libs.payment_gateways.hepsipay.HepsipayGateway
qnb_pay
omnicore.libs.payment_gateways.qnb_pay.QNBPayGateway
cybersource
omnicore.libs.payment_gateways.cybersource.CybersourceGateway
cybersource_applepay
omnicore.libs.payment_gateways.cybersource.CybersourceApplepayGateway
moka
omnicore.libs.payment_gateways.moka.MokaCreditCardGateway
masterpass_rest
omnicore.libs.payment_gateways.masterpass.MasterpassRESTGateway
benefit_tap
omnicore.libs.payment_gateways.tap.BenefitTapGateway
craftgate_masterpass
omnicore.libs.payment_gateways.craftgate.CraftgateMasterpassGateway
checkout_flow
omnicore.libs.payment_gateways.checkout.CheckoutFlowGateway
nkolay
omnicore.libs.payment_gateways.nkolay.NKolayGateway
mastercard_applepay
omnicore.libs.payment_gateways.mastercard.MastercardApplePayGateway
tap_applepay
omnicore.libs.payment_gateways.tap.ApplePayTapGateway
tap_googlepay
omnicore.libs.payment_gateways.tap.GooglePayViaTapGateway
cybersource_uc
omnicore.libs.payment_gateways.cybersource.CybersourceUCGateway
payten
omnicore.libs.payment_gateways.payten.PaytenGateway
payu_blik
omnicore.libs.payment_gateways.payu_europe.PayUBLIKGateway
payu_visa_mobile
omnicore.libs.payment_gateways.payu_europe.PayUVisaMobileGateway
payu_googlepay
omnicore.libs.payment_gateways.payu_europe.PayUGooglePayGateway
payu_applepay
omnicore.libs.payment_gateways.payu_europe.PayUApplePayGateway
payu_creditcard
omnicore.libs.payment_gateways.payu_europe.PayUCreditCardGateway
ngenius
omnicore.libs.payment_gateways.ngenius.NGeniusGateway
Gateway Configuration
The config object carries everything the selected gateway needs beyond its service addresses. It is stored exactly as sent: its contents are not validated against the selected gateway, so a terminal with an incomplete or misspelled configuration is accepted here but cannot process payments. The object is also returned in full on read, credentials included, so treat responses from these endpoints as sensitive.
Three keys are read by the platform itself for every gateway:
auth
object
The credentials of the gateway. Which keys belong in it is defined by the gateway; a terminal without it cannot send a payment request.
three_d_enabled
boolean
When true, payments made through this terminal are redirected to 3D secure verification, subject to the 3D secure settings described under Dynamic Settings & Environment Variables. Absent or false means no redirection is requested by the terminal itself.
installment_filter_enabled
boolean
When true, the installment options offered for this terminal are narrowed by the configured installment filters (see INSTALLMENT_FILTERS under Dynamic Settings & Environment Variables).
Every other key is handed to the gateway unchanged, so the integration documentation of the gateway you are configuring is authoritative for the rest of the object — including keys such as a store key, a bank code or a saved-card terminal identifier that only some gateways read.
Field Constraints
name
Required; at most 64 characters.
slug
Required; may not be empty; at most 64 characters. The value is not checked against the code format, so spaces and punctuation are accepted — send a plain lower-case code with hyphens.
gateway
Required; must be one of the values in Supported Gateways.
resource_url
Required; must be a valid URL of at most 200 characters.
three_d_resource_url
Optional; may be null; must be a valid URL of at most 200 characters.
config
Optional, but may not be null. Send an object.
Fields that are not part of the terminal are ignored rather than rejected, and the identifier in a request body is ignored as well — it is assigned by the server.
Deleting a Terminal
Warning: Deletion is permanent, and it is not limited to the terminal record. The payment transaction records that were sent through the terminal are removed together with it, and that history cannot be recovered.
A deletion is refused while the terminal is still referenced elsewhere — by a card, by a multi-currency record of a card, by a stored card of a customer, or as the main terminal of a past transaction. Point those records at another terminal first, or keep the terminal in place.
Sorting
The sort parameter accepts pk, name, slug, gateway, resource_url, three_d_resource_url and config. Prefix a field with a hyphen for descending order. Any other value — including the creation and modification timestamps, which are not part of the terminal representation — is ignored and the default ordering by identifier is kept.
Two of these deserve a note. Sorting by gateway orders terminals by the full gateway value rather than by the short code, so the order follows the value returned on read. Sorting by config is accepted but orders records by the raw content of the object, which rarely produces a useful order.
Dynamic Settings & Environment Variables
No dynamic setting changes the behaviour of the administrative endpoints described here: every action stays available and behaves identically regardless of how the settings are configured. The settings below determine how the terminals managed here are used when a payment is taken, and each is referenced again where it relates to a field of the terminal.
THREE_D_SECURE_ENABLED
boolean
the server configuration value of the same name, and false if that is unset
The master switch for 3D secure verification. While it is off, no payment is redirected to verification even when three_d_enabled is set in a terminal's configuration, and the three_d_resource_url stored here is never used.
THREE_D_SECURE_RULES
array of objects, each holding a rule and its parameters
the server configuration value of the same name, and empty if that is unset
The rules that decide, per payment, whether a terminal that requests 3D secure actually redirects. While the list is empty, the three_d_enabled flag of the terminal alone decides. One of the available rules matches terminals by their slug code, so the codes assigned here are the values that rule is configured with.
INSTALLMENT_FILTERS
array of objects, each holding a filter and its parameters
the server configuration value of the same name, and empty if that is unset
The filters that narrow the installment options of a terminal whose configuration sets installment_filter_enabled. While the list is empty, that flag has no visible effect.
Environment variables: No environment variables are read by these endpoints. The related server configuration values are THREE_D_SECURE_ENABLED, THREE_D_SECURE_RULES and INSTALLMENT_FILTERS, which seed the defaults of the dynamic settings above, and THREE_D_VALIDATE_CARD_TYPE (off by default) and THREE_D_REDIRECT_DEBIT (on by default), which further affect whether a payment is redirected to 3D secure verification at payment time.
Last updated
Was this helpful?

