Paytrie Developer Documentation

Price Quotes

Get real-time stablecoin conversion rates

Fetch current conversion rates between CAD and supported stablecoins. Use price quotes to display accurate rates to users before they initiate a transaction.

Supported tokens

TokenNetwork
USDC-ETHEthereum
USDC-POLYPolygon
USDC-ARBArbitrum
USDC-OPOptimism
USDC-BASEBase
USDC-AVAXAvalanche
USDC-BSCBNB Smart Chain
USDC-CELOCelo
USDC-SOLSolana
USDC-SXSX Network
TokenNetwork
CADC-ETHEthereum
CADC-POLYPolygon
CADC-ARBArbitrum
CADC-BASEBase
CADC-SOLSolana

Quick start

Buying stablecoins (CAD to USDC)

curl "https://api.paytrie.com/v2/quotes?leftSideLabel=CAD&leftSideValue=1000&rightSideLabel=USDC-ETH" \
  -H "x-api-key: your-api-key"

Selling stablecoins (USDC to CAD)

curl "https://api.paytrie.com/v2/quotes?leftSideLabel=USDC-ETH&leftSideValue=500&rightSideLabel=CAD" \
  -H "x-api-key: your-api-key"

Example response

{
	"success": true,
	"data": {
		"quoteId": 337362,
		"leftSideLabel": "CAD",
		"leftSideValue": 1000,
		"rightSideLabel": "USDC-ETH",
		"rightSideValue": 714.5,
		"breakdown": {
			"paytrieFee": 5,
			"gasFee": 21.5,
			"gasPrice": 20,
			"usdToCad": 1.3625
		},
		"timestamp": "2026-06-18T22:42:02.974Z"
	}
}

API Reference: Get Price Quote

View complete request parameters and response schema

Using quotes in transactions

When creating a transaction, include the quoteId to lock in the quoted rate:

curl -X POST "https://api.paytrie.com/v2/transactions" \
  -H "x-api-key: your-api-key" \
  -H "Authorization: Bearer user-jwt-token" \
  -H "Content-Type: application/json" \
  -d '{
    "leftSideLabel": "CAD",
    "leftSideValue": 1000,
    "rightSideLabel": "USDC-ETH",
    "wallet": "0x742d35Cc6634C0532925a3b844Bc9e7595f8bC3a",
    "quoteId": 337362
  }'

Quote rates are time-sensitive. If too much time passes between getting a quote and creating a transaction, the rate may change.

On this page