GET
/
v1
/
account
/
{accountId}
curl --request GET \
  --url https://integration-api-cat2./%7B{environment}%7D.ext.%7B{realm}%7D.cia.enfuce.com/instalment/v1/account/{accountId} \
  --header 'Authorization: Basic <encoded-value>'
{
  "pagination": {
    "page": 123,
    "pages": 123,
    "elements": 123,
    "size": 123
  },
  "data": [
    {
      "id": "<string>",
      "accountId": "<string>",
      "creationDate": "2023-11-07T05:31:56Z",
      "firstPayment": "2023-12-25",
      "lastPayment": "2023-12-25",
      "currency": "<string>",
      "effectiveRate": "<string>",
      "totalAmount": 123,
      "principalAmount": 123,
      "feeAmount": 123,
      "paidAmount": 123,
      "principalPaidAmount": 123,
      "dueAmount": 123,
      "overdueAmount": 123,
      "writtenOffAmount": 123,
      "fullRepaymentAmount": 123,
      "status": "WAITING",
      "lastUpdated": "2023-11-07T05:31:56Z",
      "transactionId": "<string>",
      "description": "<string>",
      "planOptions": {
        "shift": 2,
        "type": "BUY_NOW_PAY_LATER"
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

accountId
string
required

The account id to instalment plans

Query Parameters

auditUser
string
required

The audit user to log the request

page
integer
default:0

Current page

Required range: x >= 0
size
integer
default:30

How many entries should be returned per page, default is 30. Cannot be more than 100.

Required range: 1 < x < 100
status
enum<string>

Status of the instalment

Available options:
ACTIVE,
ACTUAL,
CLOSED,
OVD,
PAID,
PREVIEW,
REVISED

Response

200
application/json

List of instalments for the given account

The response is of type object.