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 preloaded during CashierManager initialization: Cashier checks the SDK version, reads the module descriptor, stores the module catalog in memory, and unloads the preload handle. Brand-level provider configs activate available modules for a brand. Each enabled config creates a dedicated provider instance with that config; provider-specific credentials live in config_json. 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
MngCreateManualCashierDeposit Creates a manual deposit transaction
MngCreateManualCashierWithdrawal Creates a manual withdrawal transaction
MngProcessManualCashierTransaction Posts manual deposit/withdrawal balance operation
MngGetCashierProviderEventsByFilter Returns raw/normalized provider event log
MngGetCashierPaymentModules Returns discovered payment modules available for configuration
MngGetCashierProviderConfigsByFilter Returns activated provider configs with filtering and pagination
MngAddCashierProviderConfig Creates provider configuration
MngUpdateCashierProviderConfig Updates existing provider configuration
MngDeleteCashierProviderConfig Disables 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
10 completed Flow is completed, currently used for successful withdrawals