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