Request Quote

End point used to post quote requests to the bindpay API

Headers

  • x-api-header: Your API key

Do you have an API key yet? Register for one here

Request Body

  • fromChain: chainID // Payor Chain -Refer to Active Chains to retrieve the chainID

  • fromToken: tokenAddress // Payor Token - Refer

  • fromAddress: walletAddress // Payor Address

  • usdAmount: amount // Transaction amount in USD

Example Request

curl -X POST "https://api.bindpay.com/v1/quote" \
     -H "Content-Type: application/json" \
     -H "x-api-key: your_api_key_here" \
     -d '{
       "fromChain": "ethereum",
       "fromToken": "ETH",
       "fromAddress": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e",
       "usdAmount": 100
     }'

Last updated