Substy Developers
Billing

Export wallet transactions

Export matching agency wallet transactions as CSV. Supply the desired date range and transaction filters.

GET/v1/agencies/{agencyId}/wallet/transactions/export

Export matching agency wallet transactions as CSV. Supply the desired date range and transaction filters.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

agencyId*string
Length1 <= length

Query Parameters

creatorId?string|array<string>
startDate*string

ISO 8601 timestamp including a timezone offset.

Formatdate-time
endDate*string

ISO 8601 timestamp including a timezone offset.

Formatdate-time
status?array<>
type?|array<>
search?string
sortBy?string
Default"createdAt"

Value in

  • "createdAt"
  • "amount"
  • "status"
  • "type"
sortOrder?string
Default"desc"

Value in

  • "asc"
  • "desc"

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/agencies/string/wallet/transactions/export?startDate=2019-08-24T14%3A15%3A22Z&endDate=2019-08-24T14%3A15%3A22Z" \  -H "Authorization: Bearer YOUR_API_KEY"
{  "data": {    "filename": "string",    "csv": "string",    "totalCount": 0  },  "meta": {    "requestId": "string"  }}