cURL
curl --request POST \ --url https://api.vantage.sh/v2/invoices/{invoice_token}/download \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "file_type": "pdf" } '
This response has no body data.
Download invoice file (PDF or CSV).
The access token received from the authorization server in the OAuth 2.0 flow.
Type of file to download (pdf or csv)
pdf
csv