API reference
Get a top-up
Where one top-up of your balance stands.
GET /v1/open/top-ups/{id}
Host https://api.open.sume.com · Auth your open.sume.com API key
Reads one top-up of the balance your key is billed to, by the id that Top up your balance returned. Top-ups made with Add funds on the Billing page can be read the same way.
Request
Path
| Name | Type | Description |
|---|---|---|
id | string | The top-up id. |
Example
Response
200 OK
checkout_url is set only while the top-up is pending.
Errors
| Status | code | When |
|---|---|---|
| 403 | open_key_required | The key is not an open.sume.com key. |
| 404 | not_found | No top-up with that id on your balance. |