Skip to main content
This walkthrough insures a car for 12 months. Every request needs your company’s API key in the x-api-key header (see Authentication).
1

Pick a coverage

Each coverage comes with what it covers. Keep the id of the one your client wants.
2

Register the vehicle

Keep the vehicle’s id. If the vehicle is already registered, you get a 409 vehicle_already_exists with its vehicleId: use that one. See Vehicles.
3

Get a quote

The response gives the premium in amount (francs CFA) and the quote’s id. Its status is awaiting_payment.
4

Collect the payment

Give the Wave number that will pay:
Send the returned paymentUrl to the payer. They confirm in Wave, and only that number can pay. The amount asked is chargedAmount: the premium plus Wave’s fee.
This is a real payment in production.
5

Wait for the contract

Poll the quote’s status until the payment settles:
The status goes from payment_pending to pending once paid, and contractId is set. If the payment fails, it goes back to awaiting_payment and you can pay again. See Payments.
6

Get the certificate

Djigui requests the ASACI certificate as soon as the payment is confirmed. When certificateStatus is issued, certificate holds its number and links, and documents the download links for the certificate image and the contract. See Contracts and certificates.