v1

latestOpenAPI 3.0.32026-07-26208618579.9 KB
Get repricing agreements

Get all accounts linked to an agreement

This operation will returns a list of accounts connected to given agreement id

get/v1/priceagreement/{id}/link

Path parameters

idstring required

The id of the price agreement of which you want to fetch the connected accounts

Query parameters

auditUserstring required

The audit user to log the request

pageinteger

Current page

sizeinteger

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

Response

Successfully retrieved

accountIdstring

The id of the card that you want to connect to a price agreement

validFromstring date-time

The RFC 3339 format date and time from what time the price list should be active. Cannot be null

validTostring date-time

The RFC 3339 format date and time when this price list should stop to be active. Cannot be greater than 'validFrom' of any other price list with the same 'code'. Can be null, which means this price list is active until this field is set

idstring

The primary key of the connection between account and agreement

priceAgreementIdstring

The primary key of the price agreement

Example response

[
  {
    "validFrom": "2022-05-12T13:18:05Z",
    "validTo": "2022-05-12T13:18:05Z"
  }
]