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

# Upload Payment Proof

> Uploads the bank transfer receipt (payment proof) of an on-ramp. Only available for `on_ramp` ramps in status `pending`.

#### Request

| Field | **Type** | Required | Description |
| --- | --- | --- | --- |
| Authorization | Header | Yes | The access token, valid for 5 minutes, is used to authenticate requests to other endpoints. |
| clientID | URL | Yes | Include your assigned **ID** in the URL, obtainable through the **Get infoClient** endpoint. |
| rampID | URL | Yes | The ID of the On Ramp for which you made the funds transfer. |

#### Body Request

| **Field** | **Description** |
| --- | --- |
| fileBase64 | Bank transfer support document converted to Base64, reflecting the payment made following the deposit instructions provided in your on-ramp order. |

#### Response

Returns `true`. The ramp moves to status `received`.



## OpenAPI

````yaml /business/openapi.json post /api/ramps/file/{rampId}/{clientId}
openapi: 3.1.0
info:
  title: Kravata Business API
  version: '1.0'
  description: >-
    Kravata Business API: on-ramp and off-ramp orders between fiat and
    stablecoins for your own accounts and wallets.
servers:
  - url: https://testapi.kravata.co
    description: Test
  - url: https://apiv2.kravata.co
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Authentication
  - name: Accounts
  - name: Wallets
  - name: Ramp Orders
  - name: Webhooks
paths:
  /api/ramps/file/{rampId}/{clientId}:
    post:
      tags:
        - Ramp Orders
      summary: Upload Payment Proof
      description: >-
        Uploads the bank transfer receipt (payment proof) of an on-ramp. Only
        available for `on_ramp` ramps in status `pending`.


        #### Request


        | Field | **Type** | Required | Description |

        | --- | --- | --- | --- |

        | Authorization | Header | Yes | The access token, valid for 5 minutes,
        is used to authenticate requests to other endpoints. |

        | clientID | URL | Yes | Include your assigned **ID** in the URL,
        obtainable through the **Get infoClient** endpoint. |

        | rampID | URL | Yes | The ID of the On Ramp for which you made the
        funds transfer. |


        #### Body Request


        | **Field** | **Description** |

        | --- | --- |

        | fileBase64 | Bank transfer support document converted to Base64,
        reflecting the payment made following the deposit instructions provided
        in your on-ramp order. |


        #### Response


        Returns `true`. The ramp moves to status `received`.
      operationId: upload-payment-proof
      parameters:
        - name: rampId
          in: path
          required: true
          description: ''
          schema:
            type: string
            format: uuid
        - name: clientId
          in: path
          required: true
          description: ''
          schema:
            type: string
            format: uuid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                fileBase64:
                  type: string
            example:
              fileBase64: <base64-encoded PDF or image of the bank transfer receipt>
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: boolean
              examples:
                api-addfile:
                  summary: api/addfile
                  value: true
                example:
                  summary: Example
                  value: true
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Access token from POST /api/token (valid 5 minutes).

````