Gravv
/Docs
Search docs or ask a question⌘K
DocsAgent
ChangelogTry sandbox
Transactions Export transactions

Export transactions

Returns the 10 newest matching transactions as a base64 file. For more rows, page through `GET /v1/transactions`. CSV columns are id, date_created, amount, currency, direction, transaction_type, status, channel, description, fee, reference, tx_hash, sending_account_id, receiving_account_id, client_reference, balance_before and balance_after.

GEThttps://api.gravv.xyz/v1/transactions/exportTry it
Api-Key

Query parameters

NameDescription
customer_id:string
account_id:string
Transactions that send from or receive into this account
card_id:string
tx_hash:string
Exact blockchain transaction hash
wallet_address:string
Sending or receiving wallet address, not case-sensitive
channel:string
One or more channels, comma-separated, such as ach,wire. See the channel values on the transaction. An unknown value returns nothing.
direction:string
Possible values: in, out
status:string
One or more of pending, completed, failed, waiting_approval and paused, comma-separated
transaction_type:string
One or more transaction types, comma-separated. See the transaction_type values on the transaction. An unknown value returns nothing.
refunded:string

true returns only failed transfers whose money came back to the source, false everything else. A refunded transfer keeps the status failed and has metadata.refunded_at. Any other value returns 400.

Possible values: true, false

start_date:string
First day, as YYYY-MM-DD. The API ignores other formats.
end_date:string
Last day, included, as YYYY-MM-DD. The API ignores other formats.
export_format:string

Send it in lower case

Possible values: csv, json

Default"json"

Response

Returns 200 OK. The file

NameDescription
data:object
Show 4 child attributesobject
error:null

Errors

StatusMeaning
200The file
400The request failed. Every transactions error is a 400, including not-found.
Was this page helpful? Yes No
Request
cURLJavaScriptPythonGoRubyPHPJavaC#cURL
curl --request GET \
--url 'https://api.gravv.xyz/v1/transactions/export?customer_id=bfe261a3-3630-4781-8249-6b0ab1123235&account_id=a4d83e55-435e-41c9-9a0b-dcb99f690c95&card_id=c1d2e3f4-a5b6-4890-abcd-ef1234567890&channel=bank_transfer&status=completed&transaction_type=global_remittance&start_date=2026-10-01&end_date=2026-10-13&export_format=json' \
--header 'Api-Key: <api-key>'
Responseapplication/json
200400OK
{
"data": {
"file_content": "aWQsZGF0ZV9jcmVhdGVkLGFtb3VudCxjdXJyZW5jeQo=",
"file_name": "transactions_2026-10-13.csv",
"content_type": "text/csv",
"total_records": 10
},
"error": null
}