---
title: "Create off-ramp request"
method: POST
path: "/v1/deposit"
tags: ["Delegated Contract Mode"]
---

# Create off-ramp request

`POST /v1/deposit`

Delegated Contract Mode will be deprecated soon; new partners should use Managed Custody Mode. Executes a crypto-to-fiat deposit. Always call /v1/deposit/quote first and pass the returned quoteId; UR validates urId, tokens, and amount against the original quote and rejects mismatches. requestId must be globally unique and reused on retries.

## Headers

- `X-Api-Signature` string, required
- `X-Api-Deadline` string, required
- `X-Api-PublicKey` string

## Request body

- object
  - `urId` integer, required — UR user ID.
  - `inputToken` string, required — Input token symbol (USDC only).
  - `outputToken` string, required — Output fiat token symbol.
  - `amount` string, required — Deposit amount in smallest units. Minimum 5 USDC.
  - `requestId` string, required — Idempotency key; reuse on retry.
  - `quoteId` string, required — Quote ID from /v1/deposit/quote. Strongly recommended: locks in the quoted fees and UR validates the request against the quote. When omitted, the deposit is processed without fee deduction (backward-compatible behavior).
  - `chainId` string — Source chain ID (CAIP-2). Defaults to Mantle when omitted.
  - `userAddress` string — User's wallet address; required for cross-chain deposits.

## Response `200`

Response envelope. For the user API, retCode 0 means success; for the partner API, code 0 means success. Business rejections return HTTP 200 with a non-zero code.

- DcEnvelope — Standard response envelope for the partner API (openapi.ur.app).
  - `code` integer, required — 0 on success; non-zero indicates a business rejection.
  - `message` string, required — Human-readable diagnostic; empty on success.
  - `data` unknown

---

[API](https://skmtc.net/ur/apis/ur-api.md) · [All operations](https://skmtc.net/ur/apis/ur-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ur/ur-api/revisions/087dcf516ce2/schema)
