Get Transactions
curl --request GET \
--url https://api.senddotssandbox.com/api/v2/transactions \
--header 'Authorization: <authorization>'
{
"data": [
{
"amount": "number",
"created": "string",
"destination_name": "string",
"id": "integer",
"metadata": [
"string",
"object",
"null"
],
"source_name": "string"
}
],
"has_more": "boolean"
}
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.
Response
Array of transactions
.
true
if there are more transactions
.
curl --request GET \
--url https://api.senddotssandbox.com/api/v2/transactions \
--header 'Authorization: <authorization>'
{
"data": [
{
"amount": "number",
"created": "string",
"destination_name": "string",
"id": "integer",
"metadata": [
"string",
"object",
"null"
],
"source_name": "string"
}
],
"has_more": "boolean"
}