Skip to main content
GET
GetBonus

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id_or_key
string
required

Response

200 - application/json

Success

id
string
required
account_id
string
required
amount
integer<int32>
required
Required range: x >= 0
currency
enum<string>
required
Available options:
USD,
GBP,
EUR
created_at
string<date-time>
required
key
string | null
metadata
metadata · object | null

Struct represents a structured data value, consisting of fields which map to dynamically typed values. In some languages, Struct might be supported by a native representation. For example, in scripting languages like JS a struct is represented as an object. The details of that representation are described together with the proto support for the language.

The JSON representation for Struct is JSON object.