Skip to main content
GET
Get a customer's bonus statistics

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"

Path Parameters

memberId
string
required

The customer's memberId, as returned when the customer was created or imported. At most 36 characters.

Maximum string length: 36

Response

The statistics. byType and byMonth are empty when the account has no bonus in the period.

The bonus on a customer's account over the last twelve months.

byType
object[]
required

The bonus by type, largest share first.

byMonth
object[]
required

The bonus by month, oldest first, from the first month that has bonus to the current month.

totalAmount
object
required

The bonus of the whole period.

Example:
Last modified on August 10, 2026