# Upload Document Endpoint: POST /api/payments/uploadDocument Version: v1 Security: OAuth2ClientCredentials ## Header parameters: - `X-Organization-Id` (string) Required if the account is part of multiple organizations. If the account only has access to one organization, this header is not required. ## Request fields (multipart/form-data): - `id` (any, required) - `file` (string, required) - `name` (string) - `description` (string) ## Response 200 fields (application/json): - `id` (string, required) - `name` (string, required) - `description` (string, required) - `url` (string, required) ## Response 422 fields (application/json): - `detail` (array) - `detail.loc` (array, required) - `detail.msg` (string, required) - `detail.type` (string, required)