Enviar Documentos de Identidade KYC e KYB
Upload a document for a customer.
target e documentType determinam como o SpherePay roteará e processará o envio — clientes individuais, clientes empresariais e representantes empresariais possuem seus próprios conjuntos de tipos de documentos aceitos.
target: "customer". Documentos para representantes empresariais (UBOs) usam target: "business_representative" e o targetId deve ser o ID do representante, não o do cliente.Autorizações
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Corpo
- ID Document
- Other Document
- Business
- ID Document
- Other Document
Upload identity documents for individual customers. Requires country of issuance and optionally the document side (front/back).
The unique identifier of the target entity for which the document is being uploaded
1"customer_66c4168d418a410eae282b83883bdc39"
The document file to upload. Accepted formats: PDF, JPEG, PNG, HEIC, TIFF. Maximum file size: 15MB
The ISO3166-1 Alpha-3 country code associated with the document (e.g., USA, GBR, FRA). See Country Codes.
"USA"
The target entity for which the document is being uploaded
customer "customer"
ID documents for individual customers. See Document Guideline for requirements.
drivers, id_card, passport, residence_permit "passport"
Optional description or notes about the document
"Front side of driver's license"
The side of the document if it has multiple sides (e.g., front, back). Leave undefined for single-sided documents.
front, back "front"
Resposta
- ID Document
- Other Document
- Business Customer Document
- ID Document
- Other Document
Response for an ID document uploaded for an individual customer.
The unique identifier of the target entity for which the document is being uploaded
"customer_66c4168d418a410eae282b83883bdc39"
The date and time the document was created
"2025-12-31T10:30:00.000Z"
The name of the document file
"passport_front_20250101.pdf"
The size of the document in bytes
2048576
The MIME type of the document file
"application/pdf"
The target entity for which the document is being uploaded
customer "customer"
The type of the document
drivers, id_card, passport, residence_permit "passport"
The side of the document if it has multiple sides (e.g., front, back). Leave undefined for single-sided documents.
front, back "front"
The description of the document
"Passport photo page"
The ISO3166-1 Alpha-3 country code associated with the document (e.g., USA, GBR, FRA)
"USA"