Quotes#

Quotes represent pricing proposals from collection partners in response to a Quote Request.

The Quote object#

AttributeTypeDescription
idstringUnique identifier with qt_ prefix
objectstringAlways "quote"
quote_requeststringQuote Request ID
partnerobjectCollection partner details
success_fee_pctnumberSuccess fee percentage
flat_feeintegerFlat fee amount (if any)
currencystringFee currency
estimated_timeline_daysintegerEstimated days to resolution
notesstringPartner notes
valid_untiltimestampQuote expiration
createdtimestampTime at which the quote was created
{
  "id": "qt_xyz789",
  "object": "quote",
  "quote_request": "qr_abc123",
  "partner": {
    "id": "cp_partner_de_01",
    "name": "CollectMax GmbH"
  },
  "success_fee_pct": 14.5,
  "flat_fee": 0,
  "currency": "eur",
  "estimated_timeline_days": 45,
  "notes": "Standard debt collection process. No upfront costs.",
  "valid_until": 1707350400,
  "created": 1706227200
}

List Quotes#

GET /v1/quotes?quote_request=qr_abc123

curl "https://api.casapay.com/v1/quotes?quote_request=qr_abc123" \
  -H "Authorization: Bearer sk_test_4eC39HqLyjWDarjtT1zdp7dc"

Retrieve a Quote#

GET /v1/quotes/:id

curl https://api.casapay.com/v1/quotes/qt_xyz789 \
  -H "Authorization: Bearer sk_test_4eC39HqLyjWDarjtT1zdp7dc"