Get the top-up history
GEThttps://onlinesim.io/api/getPaymentHistory.php
Returns your top-up orders (10 per page) and the reference data of the top-up page: available payment methods, payment forms, currency rates and preset amounts.
Security
Parameters
query4
| Name | Type | Description |
|---|---|---|
page | integer≥ 1 | Page of Default: 1Example:1 |
sort | string | Order of Enum: descascDefault:desc |
search | string | Filter: exact order ID or payment system transaction ID, or a part of the sum, payment form number or payment system name. |
lang | string | Language of the texts in the answer (country and service names, status texts): Enum: frderuenzh |
Responses
200Orders and top-up reference data, or a common error
application/jsonschemaoneOf
[0]object
[1]object
429HTTP 429: more than 400 requests per minute from one profile (from one IP for requests without a key), or more than 200 requests per minute from one profile to getNum, getPrice, getState and setOperationOk together
application/jsonschemaobject
Examples
Request rate limit exceeded
{
"response": "TRY_AGAIN_LATER"
}456HTTP 456: the API key is invalid or the OAuth token has expired. Public methods answer the same way when an invalid key is sent
application/jsonschemaobject
Examples
Invalid API key or expired token
{
"response": "ERROR_WRONG_KEY"
}