Skip to main content
POST
/
partner
/
quotes
Create executable quote for partner transaction pricing
curl --request POST \
  --url https://dev.cashweb.cash/api/v1/partner/quotes \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '
{
  "crypto_currency": "usdt",
  "network": "bep20",
  "crypto_amount": "100.00",
  "fiat_amount": "161500.00"
}
'
{
  "data": {
    "adjusted_rate": "1615.00",
    "amount": "100.00",
    "base_rate": "1625.00",
    "expires_at": "2026-02-12T12:00:00Z",
    "quote_id": "9f8ad58e-f8d5-4e4f-b3f2-f44eaf8f95d1"
  },
  "success": true
}

Authorizations

X-API-KEY
string
header
required

Body

application/json

Create a price quote for a token-network pair. Send exactly one of crypto_amount or fiat_amount.

crypto_currency
string
required

Stablecoin symbol for the quote.

Example:

"usdt"

network
string
required

Blockchain network used for the deposit.

Example:

"bep20"

crypto_amount
string | null

Crypto amount for quote generation.

Example:

"100.00"

fiat_amount
string | null

Fiat amount for quote generation.

Example:

"161500.00"

Response

Quote generated successfully

Standard API response wrapper for all successful responses

data
object
required

Quote response with the executable rate and expiry timestamp used for transaction creation.

success
boolean
required

Indicates if the request was successful

Example:

"true"

message
string | null

Optional message for additional information