Lists the Billing Credits associated with the current Hub.
Requires the billing-credits-view
capability.
Returns a collection of credit resources.
General error response from the platform
{- "data": [
- {
- "id": "651586fca6078e98982dbd90",
- "hub_id": "651586fca6078e98982dbd90",
- "description": "string",
- "account_id": "string",
- "amount": 0,
- "amount_remaining": 0,
- "expires": {
- "date": "2021-01-30T08:30:00Z"
}, - "events": {
- "created": "2021-01-30T08:30:00Z",
- "updated": "2021-01-30T08:30:00Z",
- "deleted": "2021-01-30T08:30:00Z"
}, - "state": {
- "changed": "2021-01-30T08:30:00Z",
- "error": {
- "message": "string",
- "time": "2021-01-30T08:30:00Z"
}
}
}
]
}
Requires the billing-credits-view
capability.
Returns a credit resource.
General error response from the platform
{- "data": {
- "id": "651586fca6078e98982dbd90",
- "hub_id": "651586fca6078e98982dbd90",
- "description": "string",
- "account_id": "string",
- "amount": 0,
- "amount_remaining": 0,
- "expires": {
- "date": "2021-01-30T08:30:00Z"
}, - "events": {
- "created": "2021-01-30T08:30:00Z",
- "updated": "2021-01-30T08:30:00Z",
- "deleted": "2021-01-30T08:30:00Z"
}, - "state": {
- "changed": "2021-01-30T08:30:00Z",
- "error": {
- "message": "string",
- "time": "2021-01-30T08:30:00Z"
}
}
}
}