Deposits
Deposits are Transactions that increase a fiat balance by charging a payment method through Stripe.
See Charge a Payment Method to initiate a deposit.
The Deposit Object
id string
amount string
The amount of the transaction
status string
COMPLETED, PENDING, FAILED
createdAt string
ISO 8601
updatedAt string
ISO 8601
Get a Deposit
- TypeScript / JavaScript
let deposit = await solidtx.deposits.get('deposit_cm8p8azr200000cjy95mshk65')
Parameters
No Parameters
Returns
Returns the Deposit object.
{
"id": "deposit_cm8p8azr200000cjy95mshk65",
"walletId": "wallet_yxeh6q5mmpik8w6cyvc9zcnn",
"balanceId": "cash",
"amount": "10.00",
"status": "COMPLETED",
"createdAt": "2025-01-01T12:00:00Z",
"updatedAt": "2025-01-01T12:00:00Z",
"transaction": { ... }
}
Search Deposits
- TypeScript / JavaScript
// Search all Deposits globally
let deposits = await solidtx.deposits.search()
// Search all Deposits in a Wallet
let deposits = await solidtx.deposits.search({
walletId: 'wallet_yxeh6q5mmpik8w6cyvc9zcnn'
})
Parameters
walletId string
Returns
Returns a list of Deposit objects with Pagination information.
{
"pageInfo": {
"endCursor": "...",
"totalCount": 17
},
"data": [
// Deposit objects
]
}