Skip to main content

Cancel application

PUT 

/financing/v1/applications/:uuid/cancel

Requires applications.cancel authority for authenticated user

If there is need to completely cancel customer's order, it is necessary to cancel respective application. For this purpose use /financing/v1/applications/{applicationId}/cancel resource where {applicationId} is the application ID you received in the response of /financing/v1/applications after its creation.

Financing typeSupported
INSTALLMENTYES
Application stateAvailability
REJECTEDYES
CANCELEDYES
PROCESSINGYES
READYYES

If the request was successfully processed but the application had been already paid (Application.stateReason = READY_PAID) you receive HTTP status code 202 ACCEPTED that means the process of a cancelation of the application began. It SHOULD be completed after fulfilment of several back office manual actions.

In other cases, when the request is successfully processed, you receive HTTP status code 200 OK.

You also receive at least following information about (soon to be) cancelled application in the response:

  • Application unique ID
  • Application type
  • Application state
  • Application substate

In other cases, you receive one of the following errors:

Status codeCodeExplanation
400INVALID_REQUESTRequest was not well formatted (malformed request syntax, size too large, etc.)
404OBJECT_NOT_FOUNDThe requested resource could not be found
422NOT_SUPPORTEDResource is not supported for given financing type
422UNPROCESSABLEThe request was well-formed but was unable to be followed due to semantic errors
422APPLICATION_REJECTEDWhen you try to cancel already REJECTED Application, which is not allowed
500INTERNAL_SERVER_ERRORUnexpected condition was encountered and no more specific message is suitable

Request​

Responses​

OK