انتقل إلى المحتوى الرئيسي

Wallet

Wallet History Resource

KeyTypeDescription
idintegerA unique identifier for the wallet history entry.
affiliate_idintegerThe ID of the affiliate user associated with this wallet transaction.
affiliateobjectAn object containing details about the affiliate user, including their name, email, phone number, and more.
order_idintegerThe ID of the order related to this wallet transaction.
orderobjectAn object providing information about the order, such as its unique UUID, user ID, payment method,
amountstringThe transaction amount, representing the financial value associated with this wallet transaction.
due_datedatetimeThe due date and time for this wallet transaction.
payment_methodintegerThe payment method used for this wallet transaction.
phone_numberstringThe phone number associated with this wallet transaction.
typeintegerthe type of the transaction wallet. Wallet Types
  • (1): Order
  • (2): Admin Credit
  • (3): WithDraw Request
statusstringThe status of the wallet transaction.
rejection_reasonstringThe reason for rejection, if the transaction was rejected.
admin_commentstringAny comments or notes added by administrators.
created_atdatetimeThe date and time when this wallet history entry was created.

Wallet Statistics Resource

KeyTypeDescription
order_statisticsobjectThis section provides statistics related to orders and commissions within the wallet.
balance_statisticsobjectThis section provides statistics related to the wallet balance.
withdraw_statisticsobjectThis section provides statistics related to withdrawals from the wallet.

Wallet Order Statistics Resource

KeyTypeDescription
total_countintegerThe total count of orders associated with the wallet.
total_commissionintegerThe total commission earned from all orders.
completed_countintegerThe count of completed orders.
completed_commissionintegerThe commission earned from completed orders.
pending_countintegerThe count of pending orders.
pending_commissionintegerThe commission pending for payment from pending orders.
cancelled_countintegerThe count of cancelled orders.
cancelled_commissionintegerThe commission that would have been earned from cancelled orders (usually zero for cancelled orders).

Wallet Balance Statistics Resource

KeyTypeDescription
pending_balanceintegerThe balance that is pending and not yet available for withdrawal.
admin_balanceintegerThe balance managed by administrators.
available_from_ordersintegerThe balance available from completed orders.
total_balanceintegerThe total balance in the wallet, which includes both pending and available balances.
total_currentlyintegerThe total balance currently available for withdrawal.

Wallet Withdraw Statistics Resource

KeyTypeDescription
total_withdrawintegerThe total amount of money withdrawn.
approved_withdrawintegerThe amount of money that has been approved for withdrawal.
pending_withdrawintegerThe amount of money that is pending approval for withdrawal.