Generate and upload Source of Funds declaration PDF
POST/v1/compliance/onboardings/:onboardingId/source-of-funds
Generates a PDF document declaring the user's source of funds based on selected options.
Request
Path Parameters
- application/json
Body
required
Possible values: [income, investments, sale_of_assets, retirement_funds, inheritance_gift, savings, loan_proceeds, legal_settlement, other]
Array of source of funds values. User can select multiple sources.
Responses
- 200
- 400
- 403
- 404
Source of funds PDF generated and uploaded successfully
- application/json
- Schema
- Example (from schema)
Schema
data
object
The ID of the generated document in the database
The external document ID from the KYC vendor
{
"traceId": "string",
"message": "string",
"data": {
"documentId": "550e8400-e29b-41d4-a716-446655440000",
"vendorDocumentId": "doc_xxxxxxxxxxxxx"
}
}
Invalid request payload. This can happen if required fields are missing or have invalid formats.
- application/json
- Schema
- Example (from schema)
Schema
{
"traceId": "string",
"message": "string"
}
The API key is invalid or the client does not have sufficient permissions.
- application/json
- Schema
- Example (from schema)
Schema
{
"traceId": "string",
"message": "string"
}
One of the specified resources was not found. Does not apply for empty result set.
- application/json
- Schema
- Example (from schema)
Schema
{
"traceId": "string",
"message": "string"
}