Search transactions
GET https://wallet.paysera.com/rest/v1/transactions
Get transaction list by filters.
Example:
GET /transactions?status=reserved,confirmed&limit=50
Authorization​
This endpoint requires MAC (Message Authentication Code) authentication.
Authorization Header Format:
Authorization: MAC id="CLIENT_ID", ts="TIMESTAMP", nonce="RANDOM_STRING", mac="MAC_HASH", ext="body_hash=BODY_HASH"
Example:
Authorization: MAC id="a9b8c7d6e5f4g3h2", ts="1234567890", nonce="xyz123abc456def", mac="dGhpcyBpcyBhIHJhbmRvbSBtYWMgaGFzaCB2YWx1ZQ==", ext="body_hash=cmFuZG9tQm9keUhhc2hWYWx1ZQ%3D%3D"
For more details, see the Authentication section.
Parameters​
Query Parameters​
| Name | Type | Required | Description |
|---|---|---|---|
status | string | Comma-separated transaction statuses | |
wallet | integer | Wallet ID | |
from | integer | Start date (Unix timestamp) | |
to | integer | End date (Unix timestamp) | |
limit | integer | Maximum results (1-200) | |
offset | integer | Results to skip |
Example​
Request​
GET https://wallet.paysera.com/rest/v1/transactions?status=value&wallet=value&from=value&to=value&limit=value&offset=value
Authorization: MAC id="CLIENT_ID", ts="TIMESTAMP", nonce="RANDOM_STRING", mac="MAC_HASH"
Response​
{
"transactions": [
{
"transaction_key": "xYz123Ab",
"created_at": 1355314332,
"status": "confirmed",
"type": "page",
"wallet": 14471,
"project_id": 1234,
"confirmed_at": 1355314500,
"payments": [
{
"id": 2987,
"status": "confirmed",
"price": 1999,
"currency": "EUR",
"price_decimal": "19.99"
}
]
},
{
"transaction_key": "aBc456Xy",
"created_at": 1355300000,
"status": "reserved",
"type": "page",
"wallet": 14471,
"project_id": 1234,
"payments": [
{
"id": 2986,
"status": "reserved",
"price": 2500,
"currency": "EUR",
"price_decimal": "25.00"
}
]
}
],
"_metadata": {
"total": 47,
"offset": 0,
"limit": 50
}
}
AUTHORIZATION: HTTP
REQUEST
Base URL
https://wallet.paysera.com
Query Parameters
statusComma-separated transaction statuses
walletWallet ID
fromStart date (Unix timestamp)
toEnd date (Unix timestamp)
limitMaximum results (1-200)
offsetResults to skip
RESPONSE
Transactions found
{
"transactions": [
{
"transaction_key": "xYz123Ab",
"created_at": 1355314332,
"status": "confirmed",
"type": "page",
"wallet": 14471,
"project_id": 1234,
"confirmed_at": 1355314500,
"payments": [
{
"id": 2987,
"status": "confirmed",
"price": 1999,
"currency": "EUR",
"price_decimal": "19.99"
}
]
},
{
"transaction_key": "aBc456Xy",
"created_at": 1355300000,
"status": "reserved",
"type": "page",
"wallet": 14471,
"project_id": 1234,
"payments": [
{
"id": 2986,
"status": "reserved",
"price": 2500,
"currency": "EUR",
"price_decimal": "25.00"
}
]
}
],
"_metadata": {
"total": 47,
"offset": 0,
"limit": 50
}
}