---
title: "Get cross-chain payin quote"
method: POST
path: "/api/v1/balance/payin/quote"
tags: ["Balance"]
---

# Get cross-chain payin quote

`POST /api/v1/balance/payin/quote`

Create a quote to deposit from any chain to Base USDC.

## Headers

- `x-api-key` string, nullable

## Request body

- PayinQuoteRequest — Request for cross-chain payin quote.
  - `amount` number, nullable
  - `currency` string, required
  - `originChainId` 'eth' | 'bsc' | 'avax' | 'op' | 'arb' | 'pol' | 'sol' | 'base' | 'gnosis' | 'tron' | 'xrp' | 'zec' | 'doge' | 'ltc' | 'btc' | 'cardano' | 'bera' | 'sui' | 'near' | 'near_intents' | 'xlayer' | 'plasma' | 'ton' | 'stellar' | 'monad' | 'starknet' | 'aptos' | 'adi' | 'bch', required — 1click chain codes.
  - `swapType` 'EXACT_INPUT' | 'EXACT_OUTPUT' | 'FLEX_INPUT' | 'ANY_INPUT' — Type of swap quote.

## Response `200`

Successful Response

- UniversalQuoteResponse — Universal quote response.
  - `quoteId` string, required
  - `provider` string, nullable
  - `paymentChannel` string, required
  - `fromAmount` number, required
  - `fromCurrency` string, required
  - `toAmount` number, required
  - `depositMemo` string, nullable
  - `toCurrency` string, required
  - `feeAmount` number, nullable
  - `feeCurrency` string, nullable
  - `rate` number, nullable
  - `expiresAt` string, date-time, nullable
  - `maskedIban` string, nullable
  - `depositAddress` string, nullable
  - `recipientAddress` string, nullable
  - `originChainId` string, nullable
  - `destinationChainId` string, nullable
  - `transactionRequest` object, nullable

## Other responses

- `422` — Validation Error

---

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