cURL
curl --request POST \ --url http://api.stuut.ai/v1/payments/export \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'accept: <accept>' \ --data ' { "approved_only": false, "since": "2023-11-07T05:31:56Z" } '
{ "data": {}, "error": "<string>", "message": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
application/json
text/csv
Whether to only export approved payment allocations.
Export payment allocations since this date. If not provided, and approved_only is True, will default to the time of the last export where approved_only was True.
True
approved_only
Successful response