Skip to main content
POST
/
v1
/
issuer
/
files
Upload a file
curl --request POST \
  --url https://api.decisionly.com/v1/issuer/files \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file'
{
  "id": "<string>",
  "created": "2023-11-07T05:31:56Z",
  "type": "<string>",
  "category": "transaction_receipt"
}

Authorizations

Authorization
string
header
required

Use your API key as the username. No password is required.

Body

multipart/form-data
file
file
required

The file to upload. Must be JPEG, PNG, or PDF format and under 5MB.

Response

200 - application/json

Returns the uploaded file details.

id
string
created
string<date-time>
type
string
category
enum<string>

The category of the uploaded file.

Available options:
transaction_receipt,
prior_transaction_receipt,
merchant_correspondence,
other,
unknown