Skip to main content

Viewing Deposit Transactions

These queries allow users and admins to retrieve various types of deposit transactions. Below are the queries for PayPal, Bank, and Coinpayment deposit transactions.

PayPal Deposit Transactions

Get All PayPal Deposit Transactions

getAllPaypalDepositTxns(
orderBy: String
): [PaypalDepositTransaction]
  • orderBy (String): The field to order the results by.

Get PayPal Deposit Transactions by User

getPaypalDepositTxnsByUser(
orderBy: String,
showStatus: Int
): [PaypalDepositTransaction]
  • orderBy (String): The field to order the results by.
  • showStatus (Int): The show status to filter by.

Get PayPal Deposit Transaction by ID

getPaypalDepositTxnById(
id: Int,
showStatus: Int
): PaypalDepositTransaction
  • id (Int): The ID of the transaction.
  • showStatus (Int): The show status to filter by.

Bank Deposit Transactions

Get All Bank Deposit Transactions

getAllBankDepositTxns(
orderBy: String
): [BankDepositTransaction]
  • orderBy (String): The field to order the results by.

Get Bank Deposit Transactions by User

getBankDepositTxnsByUser(
orderBy: String,
showStatus: Int
): [BankDepositTransaction]
  • orderBy (String): The field to order the results by.
  • showStatus (Int): The show status to filter by.

Get Bank Deposit Transaction by ID

getBankDepositTxnById(
id: Int,
showStatus: Int
): BankDepositTransaction
  • id (Int): The ID of the transaction.
  • showStatus (Int): The show status to filter by.

Get Bank Deposit Transaction by ID for Admin

getBankDepositTxnByIdByAdmin(
id: Int
): BankDepositTransaction
  • id (Int): The ID of the transaction.

Get Unconfirmed Bank Deposit Transactions

getUnconfirmedBankDepositTxns: [BankDepositTransaction]

Get Unconfirmed Bank Deposit Transactions by User

getUnconfirmedBankDepositTxnsByUser: [BankDepositTransaction]

Coinpayment Deposit Transactions

Get All Coinpayment Deposit Transactions

getCoinpaymentDepositTx: [CoinpaymentDepositTransaction]

Get Coinpayment Deposit Transactions by User

getCoinpaymentDepositTxByUser(
showStatus: Int
): [CoinpaymentDepositTransaction]
  • showStatus (Int): The show status to filter by.

Get Coinpayment Deposit Transactions by Admin

getCoinpaymentDepositTxByAdmin(
userId: Int
): [CoinpaymentDepositTransaction]
  • userId (Int): The ID of the user.

Get Coinpayment Deposit Transaction by ID

getCoinpaymentDepositTxById(
id: Int
): CoinpaymentDepositTransaction
  • id (Int): The ID of the transaction.

Note

Each query returns the relevant deposit transactions based on the specified parameters. The returned transaction objects include details such as id, amount, status, createdAt, updatedAt, and other relevant information.