This endpoint uploads a document necessary to verify a customer.
cURL
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" }'
Bearer authentication header on the format Bearer <API_KEY>.
Bearer <API_KEY>
Customer's unique identifier.
Resource successfully accepted.