Saltar al contenido principal
POST
/
v1
/
transactions
/
{transaction_id}
/
attachments
Subir un archivo adjunto a una transacción
curl --request POST \
  --url https://api.unisaldos.com/v1/transactions/{transaction_id}/attachments \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file' \
  --form 'description=<string>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "description": "<string>",
  "file_url": "<string>"
}

Autorizaciones

Authorization
string
header
requerido

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Parámetros de ruta

transaction_id
string
requerido

Cuerpo

multipart/form-data
file
file
requerido
description
string
requerido

Respuesta

Successful Response

id
string<uuid>
requerido
description
string
requerido
file_url
string | null