Parameters
#beforestring
Pagination cursor from the previous response. Returns older entries.
limitstring
Maximum transactions per page. Defaults to 50. Maximum 500.
organizationstring
Organization name or ID. A credential, named resource or sole membership can select the organization for you.
Returns
#dataobjectAlways present
A page of wallet credits and charges.
Show 2 attributesHide attributes
entriesobject[] | nullAlways present
Ledger entries in this page.
Show 1 attributeHide attributes
itemsobject
One recorded top-up, credit or charge.
Show 7 attributesHide attributes
amount_microsintegerAlways present
Signed wallet amount, in millionths of a dollar.
atstring (date-time)Always present
When the entry was recorded.
idstringAlways present
Ledger entry's ID.
kindstringAlways present
Reason for the entry.
period_endstring (date-time)
End of the period covered by a charge. May be omitted.
period_startstring (date-time)
Beginning of the period covered by a charge. May be omitted.
poolstring
Pool associated with the entry. May be omitted.
nextstring
Cursor for
before to fetch the next older page. Absent on the last page. May be omitted.Errors
#| Code | Status | What happened |
|---|---|---|
| invalid | 400 | An input is missing or invalid. |
| unauthenticated | 401 | The credential is missing, invalid, expired or revoked. |
| denied | 403 | The caller lacks permission for this action. |
| not_found | 404 | The resource is absent or inaccessible to this caller. |
| conflict | 409 | The request conflicts with the current resource state or an earlier request. |
| over_capacity | 409 | The request exceeds a resource or credential allowance. |
| access_list_full | 409 | The change would exceed the access-list allowance. |
| rate_limited | 429 | The caller's request rate exceeds its limit. |
| busy | 429 | Too much work is in progress to accept this request. |
| unknown | 503 | The outcome is unconfirmed; a change may have happened. |
| unavailable | 503 | The service or requested feature is unavailable. |
Notes
#- API key permission:
billing history.