POST
/
customers
/
{id}
/
documents
curl --request POST \
  --url https://api-sandbox.lumx.io/customers/{id}/documents \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'metadata={
  "type": "id_card",
  "country": "BRA",
  "side": "front_side",
  "beneficiaryId": "123e4567-e89b-12d3-a456-426614174000"
}'

Authorizations

Authorization
string
header
required

Bearer authentication header on the format Bearer <API_KEY>.

Path Parameters

id
string
required

Customer's unique identifier.

Body

multipart/form-data

Response

200

Resource successfully accepted.