Skip to main content
PUT
/
v0
/
transactions
/
{external_id}
/
receipt
Upload Receipt
curl --request PUT \
  --url https://api.sumvin.com/v0/transactions/{external_id}/receipt \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file'
{
  "_links": {},
  "content_type": "<string>",
  "size": 123,
  "uploaded_at": 123
}

Authorizations

Authorization
string
header
required

JWT token from Authorization header (Bearer token)

Headers

x-juno-orgid
string | null

Tenant org ID for multi-tenant auth

x-juno-jwt
string | null
x-sumvin-token
string | null

Path Parameters

external_id
string
required

Body

multipart/form-data
file
file
required

Response

Receipt uploaded successfully

HAL-style hypermedia links for navigation and available actions.

content_type
string
required

MIME type of the uploaded receipt

size
integer
required

Size of the uploaded receipt in bytes

uploaded_at
integer
required

Upload timestamp (epoch ms)