Payment Object
Example
{
"id": "360262021448469001",
"amount": {
"amount": "0.05",
"currency": "usd",
"amountPrecise": 50000,
"amountInSubunits": 5,
"amountPreciseExponent": 6
},
"status": "reverted",
"createdAt": "2020-11-25T12:35:41.987661Z",
"resource_id": "1234567890",
"resource_type": "purchase"
}
Description
| name | type | always present | description |
|---|---|---|---|
id | String | ☑ | payment's unique id |
amount | Object | ☑ | payment's amount, defined by an amount object. Can be null. |
status | String | ☑ | payment's status. can be one of succeeded/reverted |
createdAt | String | ☑ | payment's creation date |
resource_id | String | ☑ | payment's associated subscription/donation id |
resource_type | String | ☑ | payment's associated resource type. Can be one of subscription/donation |