RabbitMQ Message Properties

key value

key

value

type

USER_BALANCES_UPDATE

The type is expected as a property (but not in the payload) of the RabbitMQ Message. Any header will be ignored.

Kafka Message Headers

key value

key

value

type

USER_BALANCES_UPDATE

⬆️ POST /v1/integration/user/balances

The balance request is dynamic and several "balances/wallets" can be updated at the same time. Below is an example with a real-money & bonus balance update.

Sample Request for a balance update

Key Type Required? Accepted Values Description

Key

Type

Required?

Accepted Values

Description

amount

float

Yes

N/A

Amount of balance

currency

string

Yes

Format: ISO 4217

e.g. "EUR"

Currency

key

string

Yes

"real_money", "bonus_money"

Wallet type

exchange_rate

float

Yes

N/A

Exchange rate

origin

string

Yes

e.g. www.brand.com

Origin

timestamp

string

Yes

Format: RFC 3339

Timestamp

user_id

string

Yes

N/A

User id