Introduction
The Offer Generation API generates viable payment plans using debts from the Lead Eligibility API. This is Phase 3 of the DebtCore API workflow, occurring after eligibility checks.
The service is built around GraphQL - all calls are simply POST requests to the service endpoint.
Prerequisites
Before calling the Offer Generation API, you must have:
- A completed Lead Eligibility API application
- The
uwResultIdandrevisionfrom the Lead Eligibility API
How It Works
Plan Comparison
Use getOffers (the offers mutation) to calculate various payment options based on:
- Deposit Frequency - How often payments are made (e.g., Monthly)
- Deposit Intervals - Payment schedule intervals
- Payment Term - Length of the program in months
Treat this as a calculator to generate multiple payment plans for the customer to compare.
Offer Commitment
Once the customer selects a payment plan, use createOffer to commit the selection. This saves the payment plan and generates an offerId.
API Operations
| Operation | Description |
|---|---|
offers | Calculate payment plan options (calculator mode) |
createOffer | Save the selected plan and generate an offerId |
getOffer | Get a saved offer using the offerId |
Key Features
- Flexible payment term and frequency configuration
- Service fee and settlement fee calculations
- Detailed payment schedule generation
- Sentry fee support (optional)
Response Data
The service returns comprehensive offer details including:
- Payment schedules with individual payment breakdowns
- Fee structures (fee1-7 components)
- Total savings calculations
Next Steps
- Generate Offer Option - Generate offers (payment plans)
- Create Offer - Save offers
- Get Offer - Retrieve offer details