Skip to main content
POST
/
export
/
transactions
Export transactions
curl --request POST \
  --url https://api.solarsentra.io/v1/export/transactions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "walletId": "wlt_abc123def456",
  "format": "csv",
  "startDate": "2023-12-25",
  "endDate": "2023-12-25",
  "includeMetadata": true
}'
{
  "exportId": "exp_abc123",
  "status": "processing",
  "estimatedTime": 45,
  "downloadUrl": "https://api.solarsentra.io/downloads/exp_abc123.csv",
  "expiresAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

JWT Bearer token authentication. Include the token in the Authorization header

Body

application/json
walletId
string
Example:

"wlt_abc123def456"

format
enum<string>
Available options:
json,
csv,
parquet
Example:

"csv"

startDate
string<date>
endDate
string<date>
includeMetadata
boolean
Example:

true

Response

201 - application/json

Export initiated successfully

exportId
string
Example:

"exp_abc123"

status
string
Example:

"processing"

estimatedTime
number

Estimated completion time in seconds

Example:

45

downloadUrl
string
Example:

"https://api.solarsentra.io/downloads/exp_abc123.csv"

expiresAt
string<date-time>
I