cURL
curl --request POST \ --url https://api.decisionly.com/v2/issuer/files \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: multipart/form-data' \ --form category=transaction_receipt \ --form file='@example-file'
{ "category": "merchant_correspondence", "created": "2023-11-07T05:31:56Z", "id": "<string>", "type": "<string>" }
Upload a file that can be attached as documentation to cases.
Use your API key as the username. No password is required.
The category of the file being uploaded.
transaction_receipt
prior_transaction_receipt
merchant_correspondence
other
unknown
The file to upload. Must be JPEG, PNG, or PDF format and under 5MB. PDFs cannot be more than 5 pages long.
Returns the uploaded file details.
The category of the uploaded file.