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

NameTypeDescription
idstringThe top-up id.

Example

Response

200 OK

checkout_url is set only while the top-up is pending.

Errors

StatuscodeWhen
403open_key_requiredThe key is not an open.sume.com key.
404not_foundNo top-up with that id on your balance.

All error codes