Finalise the subscription
- Know the id of a quote previously created. That quote must contain information about the insured property, the policyholder and the insured person.
At that point, most partners only need to redirect the client to the Appenin frontend in order to finalise the subscription:
https://sandbox.assurance.appenin.fr/<partner_code>/contrat?id=<quote_id>
For the previous example: https://sandbox.assurance.appenin.fr/demo/contrat?id=XRM1DCC
The client will be asked to verify his email address, to check the policy proposition, to sign the policy and then to pay the policy. The email validation can be delegated to the partner.
Appenin can call a webhook provided by the partner when the subscription is finalised. Concurrently, the client can be redirected to the partner frontend at the end of the subscription process.
Pay attention that when the client is redirected to the partner frontend, there is no guarantee that the policy is already signed and paid. The contract may still be being generated, and/or the payment may still be being processed for a few seconds. In contrast, by the time the partner endpoint is called, we guarantee that the policy is paid and signed.
Test card numbers
number | brand | CVC | Date | Description |
---|---|---|---|---|
4000 0025 0000 0003 | Visa | Any 3 digits | Any future date | the payment will be successful |
4000 0000 0000 3063 | Visa | Any 3 digits | Any future date | 3D Secure authentication must be completed for the payment to be successful. |
4000 0000 0000 0002 | Visa | Any 3 digits | Any future date | Card will be declined (insufficient funds) |