PaymentApiService
Namespace http://api.hi5.com/payment (wsdl):
The following methods are available on this endpoint:
getCoinBalace
Returns the current coins balance for the supplied user.
Input Parameters
| name | description |
|---|---|
| userId | (no documentation provided) |
Return Value
coin balance
Faults
| name | description |
|---|---|
| PermissionDeniedException | if the auth token was invalid. |
| UnauthorizedException | (no documentation provided) |
incrementCoinBalance
Increments the Coins Balance for the supplied user.
Input Parameters
| name | description |
|---|---|
| userId | (no documentation provided) |
| numCoins | (no documentation provided) |
| transactionId | (no documentation provided) |
Return Value
updated coin balance
Faults
| name | description |
|---|---|
| BadRequestException | if the parameters aren't valid. |
| PermissionDeniedException | if the auth token was invalid. |
| UnauthorizedException | if request violates hi5's internal constraints. |
redeemCoins
Redeems Coins for the supplied user.
Input Parameters
| name | description |
|---|---|
| userId | (no documentation provided) |
| amount | (no documentation provided) |
| productSKU | (no documentation provided) |
| name | Name of the product redeemed. |
Return Value
order id
Faults
| name | description |
|---|---|
| BadRequestException | if the parameters aren't valid. |
| PermissionDeniedException | if the auth token was invalid. |
| UnauthorizedException | if request violates hi5's internal constraints. |
reverseTransaction
Reverses a commerce transaction.
Input Parameters
| name | description |
|---|---|
| transactionId | (no documentation provided) |
Return Value
order id
Faults
| name | description |
|---|---|
| BadRequestException | if the parameters aren't valid. |
| PermissionDeniedException | if the auth token was invalid. |
| UnauthorizedException | if request violates hi5's internal constraints. |