Cancel contract.

Cancel a customers contract.

Response CodeFault CodeFaultSuggested User Message
40090016InvalidCancellationDateFaultCancellation date provided is invalid
40490041NoContractFoundFaultContract ID does not exist
40090017InvalidContractStateFaultContract cannot be changed at this time
50090061SystemFailureFaultSystem Failure, Please try again later
40090025InvalidPaymentMethodFaultPayment method provided is incorrect
40090006ContractCancellationFaultFailed to cancel contract
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

The customer ID to locate the contract.

int64
required

The contract ID to cancel.

Body Params
date
full-date

Date to schedule for cancellation of contract, format must be [YYYY-MM-DD]. If no date is specified, the contract will be cancelled at the end of the minimum term or, if any minimum term has passed, on the next billing date.

string

The reason code for the contract cancellation

number

The ID of the payment method to be used to clear any outstanding balance at the time of cancellation.

boolean

Indicates whether any outstanding balance at time of cancelltion is to be written off. If true and cancelling within the minimum term, outstanding minimum term charges will also not be added. Defaults to false.

Headers
string

The tenant ID for which the operation is being carried out. This will be automatically generated during the authentication process.

string

The ID of a user who is performing the operation. This will be automatically generated during the authentication process.

string
enum

The source of whether records are updated by HMAC or a USER. This will be automatically generated during the authentication process. For customers accessing the service the source will be set to CUSTOMER.

Allowed:
Responses

Language
URL
LoadingLoading…
Response
Choose an example:
application/json