Coverage & Eligibility#

Check which jurisdictions CasaPay's debt collection network covers and whether a specific case is eligible for collection.

The Coverage object#

AttributeTypeDescription
countrystringISO 3166-1 alpha-2 country code
country_namestringCountry display name
debtor_typesarraySupported debtor types: private, company
available_partnersintegerNumber of partners available
min_amountintegerMinimum recoverable amount
max_amountintegerMaximum recoverable amount
currencystringDefault currency
avg_success_fee_pctnumberAverage success fee percentage
statusenumavailable, limited, unavailable
{
  "country": "DE",
  "country_name": "Germany",
  "debtor_types": ["private", "company"],
  "available_partners": 3,
  "min_amount": 5000,
  "max_amount": 50000000,
  "currency": "eur",
  "avg_success_fee_pct": 14.5,
  "status": "available"
}

List All Coverage#

GET /v1/collection_coverage

curl https://api.casapay.com/v1/collection_coverage \
  -H "Authorization: Bearer sk_test_4eC39HqLyjWDarjtT1zdp7dc"
{
  "object": "list",
  "data": [
    { "country": "DE", "country_name": "Germany", "status": "available", "debtor_types": ["private", "company"] },
    { "country": "GB", "country_name": "United Kingdom", "status": "available", "debtor_types": ["private", "company"] },
    { "country": "FR", "country_name": "France", "status": "available", "debtor_types": ["private", "company"] },
    { "country": "NL", "country_name": "Netherlands", "status": "available", "debtor_types": ["private", "company"] },
    { "country": "ES", "country_name": "Spain", "status": "limited", "debtor_types": ["company"] },
    { "country": "IT", "country_name": "Italy", "status": "available", "debtor_types": ["private", "company"] }
  ]
}

Get Coverage by Jurisdiction#

GET /v1/collection_coverage/:country

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

Check Eligibility#

Check if a specific debt is eligible for collection. This is a simplified version of the Case Preview endpoint.

POST /v1/collection_coverage/check

ParameterTypeRequiredDescription
countrystringYesDebtor's country
debtor_typestringYesprivate or company
amountintegerYesDebt amount
currencystringYesCurrency code
curl https://api.casapay.com/v1/collection_coverage/check \
  -H "Authorization: Bearer sk_test_4eC39HqLyjWDarjtT1zdp7dc" \
  -H "Content-Type: application/json" \
  -d '{
    "country": "DE",
    "debtor_type": "private",
    "amount": 360000,
    "currency": "eur"
  }'
{
  "eligible": true,
  "country": "DE",
  "debtor_type": "private",
  "estimated_fee_pct": 14.5,
  "partners_available": 3
}