Skip to main content
POST
Create Cashier Transaction

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Used internally when Praxis initiates a transaction.

cashier_id
string
required
account_id
string<uuid>
required
type
enum<string>
required
Available options:
DEPOSIT,
WITHDRAWAL,
BONUS,
BONUS_CREDIT_IN,
BONUS_CREDIT_OUT,
CREDIT_IN,
CREDIT_OUT,
TRANSFER_IN,
TRANSFER_OUT,
CORRECTION_IN,
CORRECTION_OUT,
IB_PAYMENT,
REWARD,
PROFIT_SHARING_IN,
PROFIT_SHARING_OUT
amount
required
Required range: -10000000 <= x <= 10000000
currency
string
required
account_amount
required
Required range: -10000000 <= x <= 10000000
usd_amount
required
Required range: -10000000 <= x <= 10000000
order_id
string | null
exchange_rate_usd
default:1
gate_id
string | null
gate_name
string | null
payment_data
Payment Data · object | null
gateway_payload
Gateway Payload · object | null
customer_view
boolean
default:true

Response

Successful Response

id
string<uuid>
required
source
string
required
cashier_id
string | null
required
order_id
string | null
required
customer_id
string<uuid>
required
account_id
string<uuid>
required
manager_id
string<uuid> | null
required
approved_by
string<uuid> | null
required
transaction_owner
string<uuid> | null
required
team_id
string<uuid> | null
required
gate_id
string | null
required
gate_name
string | null
required
payment_data
Payment Data · object | null
required
amount
string
required
currency
string
required
account_amount
string
required
usd_amount
string | null
required
exchange_rate_usd
string | null
required
proof_reference
string | null
required
proof_url
string | null
required
type
string
required
status
string
required
customer_view
boolean
required
comment
string | null
required
create_time
string<date-time>
required
update_time
string<date-time>
required
approve_time
string<date-time> | null
required
decline_time
string<date-time> | null
required
account_currency
string | null
fx_rate_applied
string | null
account_login
string | null
manager_name
string | null
approved_by_name
string | null
transaction_owner_name
string | null
chargeback_of
string<uuid> | null
payout_provider
string | null
payout_status
string | null
payout_reference
string | null
payout_attempt
integer | null
payout_submitted_at
string<date-time> | null
payout_completed_at
string<date-time> | null
payout_failure_reason
string | null