code
(integer
) - the HTTP status codedescription
(string
or dict
) - a longer description of what went wrongname
(string
) - the error name{
"code": 404,
"description": "Transaction not found",
"name": "Not Found"
}
{
"code": 422,
"description": {
"json": {
"merchant": {
"_schema": [
"one of 'heron_id' or 'name' is required for merchant feedback"
]
}
}
},
"name": "Unprocessable Entity"
}
{
"code": 429,
"description": "100 per 1 minute",
"name": "Too Many Requests"
}
x-ratelimit-limit
: the number of requests per minute you can sendx-ratelimit-remaining
: the number of requests remaining within the current rate limit windowx-ratelimit-reset
: the Unix timestamp datetime when you limit resetsx-ratelimit-limit: 100
x-ratelimit-remaining: 99
x-ratelimit-reset: 1675334140
100
per minute. You
have 99
requests left in the current window. And your limit will be
replenished at 1675334140
which is Thursday, 2 February 2023 10:35:40
.
We use a Fixed Window
algorithm to manage rate limits.
{
"code": 500,
"description": "Something went wrong - sorry about that! If you continue having issues please email [email protected]",
"name": "Internal Server Error"
}
Was this page helpful?