Strike icon

Strike

Interact with Strike API for Bitcoin and Lightning payments

Deposit → Get Many

AI-generated

Summary

Retrieve multiple deposit records from the Strike account, optionally applying OData filters and ordering. Choose to return all results or limit the number of deposits fetched.

Inputs

  • Return All — Whether to return all deposit records or only up to a specified limit.
  • Limit — Maximum number of deposit records to return if not returning all.
  • Filters — Collection of filters to refine the deposit results: includes an OData filter expression and an order-by expression (defaulting to 'created desc').

Output shape

a list of deposit records

If 'Return All' is enabled, all matching deposits are returned; otherwise, results are limited to 'Limit'. Filters are applied as OData query parameters for filtering and ordering the deposits. The returned data is an array of deposit objects as provided by the Strike API.

Examples

Example 1: Retrieve the 20 most recent deposits

Set 'Return All' to false and 'Limit' to 20, optionally set 'Order By' to 'created desc' in Filters.

Example 2: Retrieve all deposits made after a specific date

Set 'Return All' to true, set 'Filter' to an OData expression like 'created gt 2023-01-01T00:00:00Z'.

Discussion