Stored value
Set Balance (Autologin)
Set the E-Wallet balance for a customer using an autologin JWT token. This endpoint is primarily used by SSO integrations and external platforms that manage their own wallet balances and need to synchronize them with Innovorder.
PUT/ewallet/balanceSet E-Wallet Balance
Set the wallet balance for the customer identified by the autologin JWT. The balance value must be included in the JWT payload. Authentication is via the autologin JWT mechanism (not standard bearer token).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| balance | integer | Yes | New balance value in cents. Provided inside the autologin JWT payload. |
Response
{
"status": 200,
"code": "set_ewallet_balance_success",
"message": "Vous avez accès à ce contenu."
}Response Properties
Every field in the example is listed below. Explicit requiredness is shown when the endpoint contract defines it.
| Property | Type | Example | Description |
|---|---|---|---|
| status | integer | 200 | HTTP status code returned by the API. |
| code | string | "set_ewallet_balance_success" | Machine-readable application code for the result. |
| message | string | "Vous avez accès à ce contenu." | Human-readable result message. Do not use this value for program logic. |
Authentication
This endpoint uses autologin JWT authentication instead of standard bearer tokens. The JWT payload must contain the balance field. Contact your Innovorder representative for autologin JWT integration details.