Admin — create ledger entry

Adds a loyalty token award, spend, or reversal for any user. Reserved for trusted S2S services managing the loyalty programme.

Events fired

EventTriggerDescription
loyalty.LedgerEntryBookedasyncFired by the balance worker when the entry is successfully booked.
loyalty.LedgerEntryFailedasyncFired by the balance worker when booking the entry fails.
loyalty.LedgerBalanceChangedasyncFired by the balance worker after a successful booking that changes the user's balance.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The user's external identifier.

Body Params
string
enum
required
Allowed:
integer
required
≥ 0
string
string
string
date-time
meta
array of strings
meta
Headers
uuid
required

Client-generated UUID. Identical keys within the TTL window return the cached response.

string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
OAuth2
Missing 1 required scope
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json