Skip to content

Cashier Manager API

Cashier Manager API is the BackOffice layer for payment transactions, provider events, balance operation linkage, and payment provider configuration.

Cashier uses a cache-first model. Runtime reads are served from cache; writes are queued and synchronized to bases/cashier.db through a Cashier DB strand. Payment provider modules are loaded during CashierManager initialization. Brand-level provider configs activate loaded modules for a brand, while customer-level overrides allow CRM to manually allow or deny methods from a customer card.

Methods

Method Description
MngGetCashierTransactionsByFilter Returns Cashier transactions in table format
MngGetCashierTransaction Returns a single transaction with linked balance operations
MngUpdateCashierTransaction Updates transaction lifecycle/meta fields
MngGetCashierProviderEventsByFilter Returns raw/normalized provider event log
MngGetCashierProviders Returns provider configs and loaded runtime providers
MngUpdateCashierProviderConfig Creates or updates provider configuration
MngGetCashierCustomerProviderOverridesByFilter Returns customer-level provider overrides in table format
MngGetCashierCustomerProviderOverride Returns one customer-level provider override
MngUpdateCashierCustomerProviderOverride Creates or updates a customer-level provider override

Access

All manager Cashier methods require one of:

SESSION_MANAGER, SESSION_ADMIN, SESSION_DEALER, SESSION_CRM_MANAGER, SESSION_CRM_ADMIN.

Transaction Statuses

Value Name Description
0 created Transaction record was created
1 pending_payment Waiting for payment provider action
2 provider_confirmed Provider confirmed payment
3 credited Funds were credited to the trading account
4 credit_failed Crediting failed after provider confirmation
5 failed Payment flow failed
6 cancelled Payment was cancelled
7 refunded Payment was refunded
8 chargeback Payment was charged back
9 manual_review Manual review is required