This endpoint allows you to submit KYC (Know Your Customer) documents for a customer. Use this after retrieving pending requirements from the Awaiting Compliance endpoint.
This endpoint requires a valid Access Token for authorization.
The JWT Access Token obtained from the /login or /refresh-token
endpoint.
platform
string
default: "fincode"
required
Platform identifier. Use fincode.
uuid
string
default: "200"
required
Unique request identifier.
Request Body
The unique customer identifier for whom the documents are being submitted.
The type of KYC document being submitted. Supported values:
PROOF_OF_ADDRESS - Utility bill, bank statement, or government letter
ID_VERIFICATION - Government-issued ID
PASSPORT - Valid passport
DRIVERS_LICENSE - Valid driver’s license
UTILITY_BILL - Recent utility bill
BANK_STATEMENT - Recent bank statement
The document file to upload. Supported formats: PDF, JPG, PNG.
Optional KYC rule ID if submitting for a specific compliance requirement returned from the awaiting compliance endpoint.
Response
Overall status of the API request.
A descriptive message about the submission result.
Container for the submission result data. The unique identifier of the uploaded document.
The current status of the document (e.g., PENDING_REVIEW, APPROVED).
ISO 8601 timestamp of when the document was submitted.
Code Examples
curl --location 'https://remitjunction.fincode.software/api/v6/services/compliance/attach-documents' \
--header 'X-Auth-Token: YOUR_JWT_ACCESS_TOKEN' \
--header 'platform: fincode' \
--header 'uuid: 200' \
--form 'customerCode="CUST123456"' \
--form 'documentType="PROOF_OF_ADDRESS"' \
--form 'document=@"/path/to/document.pdf"'
platform
string
default: fincode
required
uuid
string
default: 200
required
The unique customer identifier
Type of KYC document being submitted
Available options:
PROOF_OF_ADDRESS,
ID_VERIFICATION,
PASSPORT,
DRIVERS_LICENSE,
UTILITY_BILL,
BANK_STATEMENT
The document file to upload
Optional KYC rule ID if submitting for a specific compliance requirement
KYC documents submitted successfully