Checkout page
Preview a crypto checkout fee
GET
/checkout-sessions/fee-previewScope
checkout:readAuth Bearer keyRead-only. Returns base, fee, total and net amounts for a crypto checkout using your saved fee bearer. Nothing is created.
Query parameters
amountstringrequiredcurrencystringoptionalResponses
200Fee preview
json
{
"object": "checkout_fee_preview",
"method": "crypto",
"currency": "USDT",
"fee_bearer": "customer",
"base_amount": "4.00",
"fee_amount": "1.02",
"total_amount": "5.02",
"net_amount": "4.00",
"fee_formula": {
"flat_usd": "1.00",
"rate_bps": 50,
"cap_usd": "3.00"
}
}Errors
Errors use RFC 9457 problem details. Branch on code, and log request_id.
400Bad request401Unauthenticated403Forbidden409Idempotency conflict422Validation error429Rate limitedcURL
curl -X GET "https://business.boundlesspay.com/api/public/v1/checkout-sessions/fee-preview" \ -H "Authorization: Bearer $BOUNDLESS_API_KEY"
