blob: dbfc71c357db0144807d6bb0a6ec040b39f72bb2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# UserWalletBalance
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**amount** | **number** | (USD cents) The amount in the user\'s wallet. | [default to undefined]
**redeemable_amount** | **number** | (USD cents) The amount in the user\'s wallet this is currently redeemable. | [default to undefined]
**payout_format** | **string** | The format describing the str representation of a payout. Typically, this would be displayed to a user. The payout_format is similar to python format string with a subset of functionality supported. Only float with a precision are supported along with an optional comma for a thousands separator. In addition, a mathematical operator can be applied, such as dividing by 100. Examples are shown assuming payout = 100 (one dollar). - \"{payout*10:,.0f} Points\" -> \"1,000 Points\" - \"${payout/100:.2f}\" -> \"$1.00\" | [default to undefined]
**amount_string** | **string** | The \'amount\' with the payout_format applied. Can be displayed to the user. | [default to undefined]
**redeemable_amount_string** | **string** | The \'redeemable_amount\' with the payout_format applied. Can be displayed to the user. | [default to undefined]
## Example
```typescript
import { UserWalletBalance } from './api';
const instance: UserWalletBalance = {
amount,
redeemable_amount,
payout_format,
amount_string,
redeemable_amount_string,
};
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|