Quotes#
Quotes represent pricing proposals from collection partners in response to a Quote Request.
The Quote object#
| Attribute | Type | Description |
|---|---|---|
id | string | Unique identifier with qt_ prefix |
object | string | Always "quote" |
quote_request | string | Quote Request ID |
partner | object | Collection partner details |
success_fee_pct | number | Success fee percentage |
flat_fee | integer | Flat fee amount (if any) |
currency | string | Fee currency |
estimated_timeline_days | integer | Estimated days to resolution |
notes | string | Partner notes |
valid_until | timestamp | Quote expiration |
created | timestamp | Time 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"