Export CSV
curl --request POST \
--url https://api.centsless.org/api/v1/export \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"export_mode": "standard",
"start_date": "2023-11-07T05:31:56Z",
"end_date": "2023-11-07T05:31:56Z",
"payment_method": "<string>",
"compliance_status": "<string>",
"merchant_id": "<string>"
}
'const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
export_mode: 'standard',
start_date: '2023-11-07T05:31:56Z',
end_date: '2023-11-07T05:31:56Z',
payment_method: '<string>',
compliance_status: '<string>',
merchant_id: '<string>'
})
};
fetch('https://api.centsless.org/api/v1/export', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.centsless.org/api/v1/export"
payload = {
"export_mode": "standard",
"start_date": "2023-11-07T05:31:56Z",
"end_date": "2023-11-07T05:31:56Z",
"payment_method": "<string>",
"compliance_status": "<string>",
"merchant_id": "<string>"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)<string>Export
Export CSV
standard (53 fields, export:standard), full (every field, export:full), summary.
POST
/
export
Export CSV
curl --request POST \
--url https://api.centsless.org/api/v1/export \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"export_mode": "standard",
"start_date": "2023-11-07T05:31:56Z",
"end_date": "2023-11-07T05:31:56Z",
"payment_method": "<string>",
"compliance_status": "<string>",
"merchant_id": "<string>"
}
'const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
export_mode: 'standard',
start_date: '2023-11-07T05:31:56Z',
end_date: '2023-11-07T05:31:56Z',
payment_method: '<string>',
compliance_status: '<string>',
merchant_id: '<string>'
})
};
fetch('https://api.centsless.org/api/v1/export', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.centsless.org/api/v1/export"
payload = {
"export_mode": "standard",
"start_date": "2023-11-07T05:31:56Z",
"end_date": "2023-11-07T05:31:56Z",
"payment_method": "<string>",
"compliance_status": "<string>",
"merchant_id": "<string>"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)<string>Authorizations
Body
application/json
Response
200 - text/csv
CSV.
The response is of type string.

