Add credit to your reseller account (Test Environment only)
PUT
https://api.lws.net/v1/
operationIdputResellerCredit
Not implemented outside of the Test Environment. Send the X-Test-Mode header to reach the functional implementation of this operation; without it, this endpoint always returns 501.
Request body
application/json
-
amountintegeroptionalAmount of credit to add
Example request
{
"amount": 0
}
Responses
401
Unauthorized - Missing authentication headers
{
"code": 401,
"info": "Unauthorized access to the API. Please specify X-Auth-Pass and X-Auth-Login to proceed."
}
Response fields 2
-
codeinteger -
infostring
429
Rate limit exceeded
{
"code": 429,
"info": "Rate limit exceeded. Please try again later."
}
Response fields 2
-
codeinteger -
infostring
501
Not implemented outside of the Test Environment
Returned outside the test environment. This operation only runs with X-Test-Mode enabled.
{
"code": 405,
"info": "Not implemented. Make sure you are using the Test Environment for this action to work"
}
Response fields 2
-
codeinteger -
infostring