⬆️ 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

    
{
"balances": [
{
"amount": 50,
"currency": "EUR",
"key": "real_money",
"exchange_rate": 1
},
{
"amount": 50,
"currency": "EUR",
"key": "bonus_money",
"exchange_rate": 1
}
],
"origin": "example.com",
"timestamp": "2019-07-16T12:00:00Z",
"user_id": "1234"
}

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