> ## Documentation Index
> Fetch the complete documentation index at: https://docs.caratuva.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Mint a signed PUT URL for a seller KYB document (incorporation, proof-of-ownership, proof-of-address, or an owner-scoped file). The dashboard PUTs the file, then sends publicUrl in the /kyb submit.



## OpenAPI

````yaml https://api.caratuva.com/docs-json post /v1/kyb/upload-url
openapi: 3.0.0
info:
  title: Caratuva API
  description: >-
    Cross-border B2B payments. Fiat on-ramp → USDC → PIX off-ramp.


    Every request runs in **test** or **live** mode on this single host — there
    is no separate sandbox URL. API keys carry the mode in their prefix
    (`pk_test_…` / `pk_live_…`); dashboard JWTs start in test and re-mint via
    `POST /v1/auth/switch-mode`. Test mode runs the full pipeline against a
    sandbox payment instance (KYB/KYC auto-approve, no real money); live runs on
    real rails and requires approved KYB. Test and live data are fully isolated.
    Check readiness with `GET /v1/onboarding/status`.
  version: 1.0.0
  contact: {}
servers: []
security: []
tags: []
paths:
  /v1/kyb/upload-url:
    post:
      tags:
        - kyb
      summary: >-
        Mint a signed PUT URL for a seller KYB document (incorporation,
        proof-of-ownership, proof-of-address, or an owner-scoped file). The
        dashboard PUTs the file, then sends publicUrl in the /kyb submit.
      operationId: KybController_uploadUrl
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateKybUploadUrlDto'
      responses:
        '201':
          description: Signed upload URL minted
      security:
        - apiKey: []
        - bearer: []
components:
  schemas:
    CreateKybUploadUrlDto:
      type: object
      properties: {}
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: X-API-Key
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http

````