2.2 Deduct Points as Currency

Removes points from an existing Rewards4 member account. Most likely due to a refunded transaction. Rewards4 will convert the value into a points earnt amount. Request and response samples can be found at https://soapservices.rewards4sport.com/soap.asmx?op=DeductPointsAsCurrency

int DeductPointsAsCurrency (int iRewardsID, decimal dValue, datetime dDate, datetime dActivationDate, string sNote, string sSource)


2.2.1 Request Parameters



Parameter Description Data Type Required? 
iRewardsID Unique identifier of Rewards4 member (Rewards4 ID) Integer Yes
dValue Currency value of points to be deducted Decimal Yes
dDate Date & time of transaction DateTime Yes
dActivationDate Date & time of when points will become available DateTime Yes
sNote Description of transaction String Yes
sSource Transaction order number or unique identifier String Yes

If you do not need to send dActivationDate the value should be set to '1900-01-01'

2.2.2 Response


The operation will return one of the below codes.

Code Description Data Type
-2 iPoints value is set to zero Integer
-3 An error has occurred Integer
1 Points successfully removed Integer