Returns referral code usage details
Changed onRequest
- Base URLhttps://api.ethereal.trade
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Referral code (3-12 alphanumeric uppercase characters)
Response
Example response
{
"code": "XYZ123456789",
"remainingUsage": 5
}Changes
- info
added the non-success response with the status
- info
- info
the
response's property default valueBad Requestwas removed for the status - info
the
response's property default valueForbiddenwas removed for the status - info
the
response's property default valueNot Foundwas removed for the status - info
the
response's property default valueToo Many Requestswas removed for the status - info
the
response's property default valueUnauthorizedwas removed for the status - info
the
response's property default valueUnprocessable Entitywas removed for the status - info
the
response's property default value400was removed for the status - info
the
response's property default value401was removed for the status - info
the
response's property default value403was removed for the status - info
the
response's property default value404was removed for the status - info
the
response's property default value422was removed for the status - info
the
response's property default value429was removed for the status - info
response property
messagelist-of-types was narrowed by removing typesarrayfrom media typeapplication/jsonof response400
- info