Create off-ramp request
Partner Auth: EIP-191 signature by the partner's registered backend key, with X-Api-Deadline and optional X-Api-PublicKey headers. See the Signature and verify guide.
Partner's EIP-191 signature (0x-prefixed hex).
Unix seconds when the request signature expires (within 5 minutes).
Partner's signer Ethereum address.
UR user ID.
Input token symbol (USDC only).
Output fiat token symbol.
Deposit amount in smallest units. Minimum 5 USDC.
Idempotency key; reuse on retry.
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).
Source chain ID (CAIP-2). Defaults to Mantle when omitted.
User's wallet address; required for cross-chain deposits.
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.
Standard response envelope for the partner API (openapi.ur.app).
0 on success; non-zero indicates a business rejection.
Human-readable diagnostic; empty on success.
Business payload. Shape depends on the endpoint.
POST /v1/deposit HTTP/1.1
Host: openapi.ur.app
X-Api-Signature: text
X-Api-Deadline: text
Content-Type: application/json
Accept: */*
Content-Length: 148
{
"urId": 12345,
"inputToken": "USDC",
"outputToken": "USD",
"amount": "5000000",
"requestId": "deposit-202401010001",
"quoteId": "deposit_1700000000000_12345"
}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.
{
"code": 0,
"message": "",
"data": {
"txHash": "0x1234567890abcdef..."
}
}Last updated