Skip to main content
Last updated on September 30, 2025

AsyncAPI for currency service 0.0.1 documentation

Published Messages (currencyManagement)​

The service publishes one of these messages below.

currencyCreated​

Message is sent when currency is created. Contains fields from event and the following payload.

Example value
{
"payload": {
"currency": {
"currencyCode": "string",
"localizationDescriptions": {
"property1": "string",
"property2": "string"
},
"currencySymbol": "string",
"namespace": "string",
"currencyType": "REAL",
"decimals": 0,
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}
},
"id": "string",
"version": 0,
"name": "string",
"namespace": "string",
"parentNamespace": "string",
"timestamp": "2019-08-24T14:15:22Z",
"clientId": "string",
"userId": "string",
"traceId": "string",
"sessionId": "string"
}

payload​

NameTypeDescription
currencycurrency-

currencyUpdated​

Message is sent when currency is updated. Contains fields from event and the following payload.

Example value
{
"payload": {
"currency": {
"currencyCode": "string",
"localizationDescriptions": {
"property1": "string",
"property2": "string"
},
"currencySymbol": "string",
"namespace": "string",
"currencyType": "REAL",
"decimals": 0,
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
},
"oldCurrency": {
"currencyCode": "string",
"localizationDescriptions": {
"property1": "string",
"property2": "string"
},
"currencySymbol": "string",
"namespace": "string",
"currencyType": "REAL",
"decimals": 0,
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}
},
"id": "string",
"version": 0,
"name": "string",
"namespace": "string",
"parentNamespace": "string",
"timestamp": "2019-08-24T14:15:22Z",
"clientId": "string",
"userId": "string",
"traceId": "string",
"sessionId": "string"
}

payload​

NameTypeDescription
currencycurrency-
oldCurrencycurrency-

currencyDeleted​

Message is sent when currency is deleted. Contains fields from event and the following payload.

Example value
{
"payload": {
"currency": {
"currencyCode": "string",
"localizationDescriptions": {
"property1": "string",
"property2": "string"
},
"currencySymbol": "string",
"namespace": "string",
"currencyType": "REAL",
"decimals": 0,
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}
},
"id": "string",
"version": 0,
"name": "string",
"namespace": "string",
"parentNamespace": "string",
"timestamp": "2019-08-24T14:15:22Z",
"clientId": "string",
"userId": "string",
"traceId": "string",
"sessionId": "string"
}

payload​

NameTypeDescription
currencycurrency-

Schemas​

currency​

NameTypeDescription
currencyCodestringcurrency code
localizationDescriptionsobjectlocalized description
currencySymbolstringcurrency symbol
namespacestringnamespace
currencyTypestringcurrency type
decimalsinteger (int32)decimals, commonly set 2 if real currency or 0 if virtual currency
createdAtstring (date-time)-
updatedAtstring (date-time)-

localizationDescriptions​

This is a free-form object.

event​

NameTypeDescription
idstringevent id
versioninteger-
namestringevent name
namespacestringevent namespace
parentNamespacestring-
timestampstring (date-time)-
clientIdstringclient id
userIdstringthe operator id
traceIdstringtrace id
sessionIdstringsession id