PATCH
/
v1
/
close
Close an existing instalment plan
curl --request PATCH \
  --url https://integration-api-cat2./%7B{environment}%7D.ext.%7B{realm}%7D.cia.enfuce.com/instalment/v1/close \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "instalmentId": "<string>"
}'
{
  "id": "5422311",
  "accountId": "4863511",
  "creationDate": "2025-06-05T13:16:10",
  "firstPayment": "2025-02-11",
  "lastPayment": "2030-08-25",
  "currency": "NOK",
  "effectiveRate": "5.00",
  "totalAmount": 10000,
  "principalAmount": 10000,
  "feeAmount": 0,
  "paidAmount": 100,
  "principalPaidAmount": 100,
  "dueAmount": 0,
  "overdueAmount": 0,
  "writtenOffAmount": 9000,
  "fullRepaymentAmount": 9000,
  "status": "CLOSED",
  "lastUpdated": "2025-06-09T08:42:58",
  "transactionId": "98192911",
  "description": "Instalment plan for order #987",
  "planOptions": {
    "shift": 2,
    "type": "BUY_NOW_PAY_LATER"
  }
}
Deprecated: This API endpoint is no longer supported.

Authorizations

Authorization
string
header
required

Basic authentication is used to authenticate towards Enfuce API. It is described in more detail in RFC 7617.

Query Parameters

auditUser
string
required

The audit user to log the request

Body

application/json

Response

200
application/json

Closed instalment

The response is of type object.