- Transactions
- Get transactions for a user
Transactions
Get transactions for a user
GET
/api/api/transactions/get/user/{user_id}
client_id*
api_key*
curl --request GET \
--url https://api.senddotssandbox.com/api/api/transactions/get/user/{user_id} \
--header 'Authorization: Basic AUTH_VALUE'
{
"success": true,
"transactions": [
{
"id": 0,
"date": "string",
"source_username": "string",
"destination_username": "string",
"amount": 0,
"type": "credit",
"direction": "credit",
"completed": true,
"notes": {},
"receipt": {
"items": [
{
"name": "string",
"unit_amount": 0,
"quantity": 0,
"description": "string"
}
],
"breakdown": {
"items_total": 0,
"tax": 0,
"shipping": 0
}
},
"credit_transaction_id": "string"
}
],
"total": 0
}
curl --request GET \
--url https://api.senddotssandbox.com/api/api/transactions/get/user/{user_id} \
--header 'Authorization: Basic AUTH_VALUE'
{
"success": true,
"transactions": [
{
"id": 0,
"date": "string",
"source_username": "string",
"destination_username": "string",
"amount": 0,
"type": "credit",
"direction": "credit",
"completed": true,
"notes": {},
"receipt": {
"items": [
{
"name": "string",
"unit_amount": 0,
"quantity": 0,
"description": "string"
}
],
"breakdown": {
"items_total": 0,
"tax": 0,
"shipping": 0
}
},
"credit_transaction_id": "string"
}
],
"total": 0
}