plumery-kotlin-client-okhttp
com.plumery.api
plumery-kotlin-client-okhttp is a Java jar artifact published under the com.plumery.api group on Maven Central. 34 versions are indexed here. Select a version below for Maven, Gradle and SBT snippets plus CVE data.
Add to your project1.6.0
<dependency>
<groupId>com.plumery.api</groupId>
<artifactId>plumery-kotlin-client-okhttp</artifactId>
<version>1.6.0</version>
</dependency>Version Details — 1.6.0
The Accounts object is a representation of the accounts associated with a party. This object enables the retrieval of the party's accounts and supports various operations related to those accounts. ## Real-Time Events In addition to the REST endpoints, some resources in this API are also delivered proactively over the platform's [Real-Time Events](https://plumery.stoplight.io/docs/plumery-services/78bef701130ff-real-time-events) connection - a single, session-authenticated connection your app opens once and keeps listening on for live updates, instead of polling. Events are thin: each carries just enough detail to identify what changed - an id, the specific field - alongside some of the changed data itself. They are a notification, not a guaranteed or replayable history: events published before a connection is established are not delivered once it opens, so an app's initial state should always come from the REST endpoint, with events used from that point on as incremental "something changed" signals. Whether the data included on the event is enough to act on directly, or whether to re-fetch the full resource from the matching REST endpoint, is up to the consuming app - re-fetching is a safe default recommendation where the current, authoritative state matters, not a strict requirement. ### Events published by API | Event | Reflects | Related REST endpoint | | :------------------------ | :------------------------------------------------------------------------------------- | :--------------------------------------------------- | | `account-balance.updated` | A balance in `AccountDetails.balances` - see `AccountBalanceUpdatedEvent` in `Schemas` | `GET /api/v1/parties/{partyId}/accounts/{accountId}` | ### Field reference: `AccountBalanceUpdatedEvent` | Event field | Corresponds to | Notes | | :-------------- | :------------------------------------------------------- | :--------------------------------------------------------------------------------------------- | | `accountId` | `AccountDetails.accountId` | Identifies which account the update belongs to. | | `balanceType` | `Balance.balanceType` (within `AccountDetails.balances`) | Identifies which specific balance changed - an account can hold several balance types at once. | | `balanceAmount` | `Balance.balanceAmount` | The refreshed amount at the time of the event. | ### Example As it appears on the Real-Time Events connection: ``` event:account-balance.updated data:{"type":"account-balance.updated","accountId":"e7acae46e819c19640919a6720b192cb","balanceType":"interimBooked","balanceAmount":{"currency":"EUR","amount":"20568.00"}} ```