Properties
| Name | Type | Description |
|---|---|---|
| code | string | The purchase's code. |
The purchase's code. | ||
| blocks | integer | Blocks bought. |
Blocks bought. | ||
| credits | integer | Credits bought. |
Credits bought. | ||
| amountPence | integer | What it cost, in pence ex VAT. |
What it cost, in pence ex VAT. | ||
| source | enum | AdminGrant Purchase AutoTopUp |
AdminGrant Purchase AutoTopUp | ||
| purchasedByName | string | Who bought it; for a top-up, who switched top-up on. Null when the user is gone. |
Who bought it; for a top-up, who switched top-up on. Null when the user is gone. | ||
| createdDate | string | When it was bought. |
When it was bought. | ||
JSON Example
{
"code": "string",
"blocks": 0,
"credits": 0,
"amountPence": 0,
"source": "AdminGrant"
}