Donation Object
Example
{
"id": "360262020534110727",
"amount": {
"amount": "1.00",
"currency": "usd",
"amountPrecise": 1000000,
"amountInSubunits": 100,
"amountPreciseExponent": 6
},
"status": "active",
"createdAt": "2020-11-25T12:35:41.878112Z",
"frequency": "month"
}
Description
| name | type | always present | description |
|---|---|---|---|
id | String | ☑ | donation's unique id |
amount | Object | ☑ | donation's amount, defined by an amount object. Can be null. |
status | String | ☑ | subscription's status. can be one of active/canceled/finished/unpaid |
createdAt | String | ☑ | subscription's creation date |
frequency | String | ☑ | donation's frequency. can be one of one_time/day/month/year |