Skip to main content

Finalise the subscription

Prerequisites
  • 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‚Äč

numberbrandCVCDateDescription
4000 0025 0000 0003VisaAny 3 digitsAny future datethe payment will be successful
4000 0000 0000 3063VisaAny 3 digitsAny future date3D Secure authentication must be completed for the payment to be successful.
4000 0000 0000 0002VisaAny 3 digitsAny future dateCard will be declined (insufficient funds)