Cancel a policy according to its id.
Changed onCf. summary
Request
- Base URLhttps://sandbox.api.axapartners.com
- URLhttps://sandbox.api.axapartners.com/sales/v2/individual/travel/policies/{policy_id}/cancel
- AuthOAuth 2Client credentialsToken URL: https://sandbox.auth.api.axapartners.com/oauth/token scopes: urn:axa.partners.sales.individual.travel.policies.write
Path parameters
Unique policy identifier.
Headers
Accepted language, IANA language codification. If language not managed, "en" will be used by default.
Request body
Example request
{
"cancellation_date": "2018-08-20"
}Response
Policy successfully cancelled.
Example response
{
"refund_amount": {
"value": 199.99,
"currency": "EUR"
},
"coverage_end_date": "2018-08-20"
}Changes
- info
added the new optional request property
- info
- info
added the new
CREDIT_CARD_REJECTEDenum value to the request property - info
added the new
DECEASED_POLICY_HOLDERenum value to the request property - info
added the new
DUPLICATE_PURCHASEenum value to the request property - info
added the new
END_OF_CONTRACTenum value to the request property - info
added the new
EXTRAORDINARY_TERMINATION_AFTER_CLAIMenum value to the request property - info
added the new
MOVING_RESIDENCE_ABROADenum value to the request property - info
added the new
NON_PAYMENTenum value to the request property - info
added the new
OTHER_REASONenum value to the request property
- info