List Transfer (Shop)
List of Transfer
The List Transfer (Shop) API enables you to retrieve a list of financial transactions from a user's wallet. You can filter transactions by type, currency, date, and amount, and sort the results accordingly. Pagination is supported for easy navigation through large datasets. This API is ideal for viewing detailed transaction histories efficiently.
GET
https://api.payhubix.com/v1/wallet/shops/019242e7-d18f-788f-813e-a2c72177e172/transfers/
Note: you must insert shop_id in path param request.
Request Header:
X-Api-Key*
string
Your API key for authentication and authorization.
Request Params:
Name
Type
Description
page
integer
The current page number for pagination. If not provided, defaults to 1.
per_page
integer
Number of transactions to display per page. If not provided, defaults to 20. Maximum value is capped at 100.
side
string
Filter transactions by the transfer side (e.g., Payout
or Incomig
). Optional filter.
type
string
Filter transactions by the transfer type (e.g., Invoice
, Withdraw
). Optional filter.
symbol
string
Filter transactions by currency symbol (e.g., "USDT", "BTC"). Optional filter.
create_at
string
Sort transactions by creation date. Accepts either "asc" or "desc" to sort in ascending or descending order.
amount
string
Sorts transfers by amount. Can be "asc" (ascending) or "desc" (descending). Default is no sorting.
Response
Name
Type
Description
page_count*
integer
Total number of pages.
page*
integer
Current page number.
previous_page*
integer
Previous page number.
next_page*
integer
Next page number.
created_at*
string
The timestamp when the transfer was created.
side_id*
integer
ID related to the side of the transfer (for example, a unique ID for each transfer side).
side*
string
Type of side for the transfer. Can be Invoice
or Withdraw
.
type*
string
The type of transfer. Can be Incoming
or Payout
.
symbol*
string
The symbol of the currency involved in the transfer.
amount*
float
The amount of the currency being transferred. Example: 100.
An example of response:
Example codes:
Note: Please make sure to replace YOUR_API_KEY
in the code snippets with your actual merchant API key
Last updated