Offers on a lead
Figures, term and a structural label for each option. Sandbox offers are computed for integration testing and say so.
AuthorizationBearer <token>
An access token from POST /oauth/token. Valid for one hour. Preferred, because a leaked request log then exposes an hour rather than a permanent credential.
In: header
Path Parameters
id*string
The lead id returned by POST /leads.
Format
uuidResponse Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
Shell
curl -X GET "https://sandbox.capvant.com/leads/497f6eca-6276-4993-bfeb-53cbbbba6f08/offers"JSON
{ "lead_id": "string", "offers": [ { "id": "string", "label": "string", "state": "presented", "amount": 0, "currency": "GBP", "annual_rate_pct": 0, "factor_rate": 0, "term_months": 0, "fees": 0, "total_repayment": 0, "expires_at": "string", "created_at": "string" } ], "simulated": true, "note": "string"}