Get Transfers
curl --request GET \
--url https://api.dots.dev/api/v2/transfers \
--header 'Authorization: <authorization>'
{
"data": [
{
"amount": 123,
"created": "2023-11-07T05:31:56Z",
"external_data": {},
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"metadata": "<string>",
"status": "created",
"transactions": [],
"type": "refill",
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"has_more": true
}
Authorizations
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Query Parameters
A limit on the number of objects to be returned, between 1 and 100.
A cursor for use in pagination. starting_after
is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with aaa
, your subsequent call can include starting_after
=aaa
in order to fetch the next page of the list.
A cursor for use in pagination. ending_before
is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with aaa
, your subsequent call can include ending_before
=aaa
in order to fetch the previous page of the list.
Include only results with this user ID attached.
Response
Array of transfers
.
true
if there are more transfers
.
curl --request GET \
--url https://api.dots.dev/api/v2/transfers \
--header 'Authorization: <authorization>'
{
"data": [
{
"amount": 123,
"created": "2023-11-07T05:31:56Z",
"external_data": {},
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"metadata": "<string>",
"status": "created",
"transactions": [],
"type": "refill",
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"has_more": true
}