Quotes#Create

Create a Quote that will tell you how much you need to send and to what address.

Please read How To Make a Payment to understand how Quotes & Offramps work.

Example request

curl https://{{base_url}}/users/USER_ID/quotes
-X POST \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-type: application/json" \
-d '{
       "quote": {
          "deposit_token": "usdc",
          "deposit_token_chain": "ethereum"
       }
}'

Endpoint Information

Create a quote

POST https://{{base_url}}/users/:user_id/quotes

Get the required information to create an offramp.

Path Parameters

Name
Type
Description

user_id*

UUID

The ID for the User who is making the payment.

Request Body

Name
Type
Description

deposit_token*

String

Symbol of the token to be liquidated. Can only be usdc.

deposit_token_chain*

String

Blockchain of the token to be liquidated. Can be polygon, ethereum, tron, solana, arbitrum.

Last updated