v1

latestOpenAPI 3.0.12026-08-066103.9 MB

Finalizes policy subscription, completing missing information.

Cf. summary

post/sales/v2/individual/travel/policies/{policy_id}/finalize

Path parameters

policy_idstring required
Example:ea45ec62-0d21-4f44-a577-b8624da2bf5b

Unique policy identifier.

Headers

accept-languagestring
Example:en

Accepted language, IANA language codification. If language not managed, "en" will be used by default.

Request body

external_policy_numberstring

External policy identifier that can be provided by the partner.

subscription_countrystring required

Country where the customer subscribes the policy, ISO-3166-1 alpha-2 format (2 letter codes).

Example request

{
  "subscription_country": "FR",
  "payment": {
    "type": "CREDIT_CARD",
    "psp_transaction_id": "3af6781b-3f47-4d3f-ae94-0e5167c22dc3",
    "transfer_information": {
      "account_holder": {
        "first_name": "John",
        "last_name": "Doe",
        "billing_address": {
          "street_address": "150 Avenue de Paris",
          "postal_code": "75001",
          "city": "Paris",
          "country": "FR"
        }
      },
      "account_name": "Personal Account",
      "country_code": "FR",
      "wire_code": [
        {
          "value": "FR7630006000011234567890189"
        }
      ]
    }
  }
}

Response

Policy confirmation response.

policy_numberstring

Final policy number.

external_policy_numberstring

External policy identifier that can be provided by the partner.

subscription_countrystring required

Country where the customer subscribes the policy, ISO-3166-1 alpha-2 format (2 letter codes).

Example response

{
  "subscription_country": "FR",
  "payment": {
    "type": "CREDIT_CARD",
    "psp_transaction_id": "3af6781b-3f47-4d3f-ae94-0e5167c22dc3",
    "transfer_information": {
      "account_holder": {
        "first_name": "John",
        "last_name": "Doe",
        "billing_address": {
          "street_address": "150 Avenue de Paris",
          "postal_code": "75001",
          "city": "Paris",
          "country": "FR"
        }
      },
      "account_name": "Personal Account",
      "country_code": "FR",
      "wire_code": [
        {
          "value": "FR7630006000011234567890189"
        }
      ]
    }
  },
  "attachments": [
    {
      "name": "Proof of purchase",
      "content_url": "https://axa.com/deeplink/route",
      "type": "CONTRACT",
      "technical_reference": "3c13937d-9f60-4fff-bf03-06d9aee56abe"
    }
  ],
  "wallet_informations": {
    "pass_url": "https://myp.as/G77VRY75negVJKRL28jjpf"
  }
}