Skip to main content
Upload customer document

Authorizations

X-API-Key
string
header
required

Your Swipelux API key. Obtain this from the Swipelux Dashboard.

Headers

Idempotency-Key
string
required

Required for effectful v3 requests (POST, PATCH, PUT, DELETE). Reuse the same key with the same body to replay the cached response.

Required string length: 1 - 255

Path Parameters

customerId
string
required

Body

multipart/form-data
file
file
required

Raw PDF, JPEG, PNG, WebP, or HEIF/HEIC file bytes (max 25 MB); not a base64 string.

type
string

Optional document type.

Response

Document uploaded

data
object
required