| Type | Description |
|---|---|
| Id required string | ID of the wallet. |
| Type | Description |
|---|---|
| Transactions object | Array of Transactions. |
curl -X GET https://api.stack.promo/v1/wallets/0035ace7d6ae45829589384095392509/transactions \
-H 'Content-Type: application/json' \
-H 'Authorization: Basic <credentials>'
{
"transactions": [
{
"id": "3d7dc9e8efb44a69866ddf8a1183db54",
"createdOn": "2020-05-30T16:07:51.997948",
"transactionType": "Debit",
"description": "Get $10 on us",
"amount": -10.0
},
{
"id": "e08731b319d24c45817108ab2a7ceed4",
"createdOn": "2020-05-30T16:07:51.964693",
"transactionType": "Credit",
"description": "Get $10 on us",
"amount": 10.0
},
{
"id": "9a60bda27dbc49cfb462ffef64213d4f",
"createdOn": "2020-05-30T15:47:29.418844",
"transactionType": "Credit",
"description": "Opening balance",
"amount": 0.0
}
]
}
| Type | Description |
|---|---|
| Id string | ID of the wallet transaction. |
| CreatedOn datetime | Date and time when the transaction occurred. |
| TransactionType string | Indicates whether the transaction is debit or credit. |
| Amount decimal | Transaction amount. |
| Description string | Transaction description. |