POST admin/payment/credits/adjust
Adjust credits by a signed delta (negative = deduct); the resulting balance must not go below zero. Same shape as grant. Returns the post-write summary.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| inVO | No documentation available. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"category": "sample string 1",
"amount": 2.1,
"reason": "sample string 3",
"memberId": "sample string 4",
"networkId": "sample string 5",
"curUserId": "sample string 6",
"isSSO": true,
"requestHost": "sample string 8",
"applicationPath": "sample string 9",
"secureApplicationPath": "sample string 10",
"absoluteApplicationPath": "sample string 11",
"isHttps": true,
"isMobileDevice": true,
"isElectron": true,
"isFullEmbed": true,
"clientType": 0,
"clientVersion": "sample string 16",
"clientOS": "sample string 17",
"clientBuild": "sample string 18",
"premiumAppId": "sample string 19",
"clientWidth": 20,
"clientHeight": 21,
"timezone": 22
}
application/xml, text/xml
Sample:
<CreditsAdminChangeInVO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input.Payment"> <ClientHeight xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">21</ClientHeight> <ClientType xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">Site</ClientType> <ClientWidth xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">20</ClientWidth> <absoluteApplicationPath xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 11</absoluteApplicationPath> <applicationPath xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 9</applicationPath> <cachedKey xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 1</cachedKey> <clientBuild xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 18</clientBuild> <clientOS xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 17</clientOS> <clientVersion xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 16</clientVersion> <curUserId xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 6</curUserId> <isElectron xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">true</isElectron> <isFullEmbed xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">true</isFullEmbed> <isHttps xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">true</isHttps> <isMobileDevice xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">true</isMobileDevice> <isSSO xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">true</isSSO> <premiumAppId xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 19</premiumAppId> <requestHost xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 8</requestHost> <secureApplicationPath xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 10</secureApplicationPath> <timezone xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">22</timezone> <NetworkId xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Input">sample string 5</NetworkId> <MemberId>sample string 4</MemberId> <Amount>2.1</Amount> <Category>sample string 1</Category> <Reason>sample string 3</Reason> </CreditsAdminChangeInVO>
application/x-www-form-urlencoded
Sample:
Sample not available.
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="cachedKey" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e--
Response Information
No documentation available.
Response body formats
application/json, text/json
Sample:
{
"isDone": true,
"code": 0,
"message": "sample string 2",
"data": {},
"cachedKey": "sample string 4",
"correlationId": "02a6967a-fd5a-4867-8463-a39b91336548",
"jwtTokenForSPA": "sample string 6",
"jwtTokenIndexForSPA": 1
}
application/xml, text/xml
Sample:
<ResultOutVO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Output.Common"> <CachedKey>sample string 4</CachedKey> <Code>None</Code> <CorrelationId>02a6967a-fd5a-4867-8463-a39b91336548</CorrelationId> <Data /> <IsDone>true</IsDone> <JwtTokenForSPA>sample string 6</JwtTokenForSPA> <JwtTokenIndexForSPA>1</JwtTokenIndexForSPA> <Message>sample string 2</Message> </ResultOutVO>
multipart/form-data
Sample:
Sample not available.