DreamzWallet

Get loyalty points

Get credited loyalty points of wallet user account.

Host

Test: https://mob.paymentplug.com/
Live: https://wallet.paymentplug.com/

How to get loyalty points?

The POST request will be send over HTTPS to the walletServices/WalletCustomerService/loyaltyPointendpoint.

Sample Request
                      
                         
                      
                  
Sample Response
                      
                          
                      
                  
NOTE:
  • verificationHash – SHA256Algorithm.generateSHA256Hash(secKey.trim()+customerId.trim()+walletOwnerId.trim())
How to generate verification hash?

Verification Hash has to be calculated with following combination using SHA256 algorithm and need to be send along with the authentication parameters in each server-to-server request: < secKey >< customerId >< walletOwnerId >

Sample code

                    
                       
                    
                
Request Parameters

This reference lists all the standard flow parameters to be send in request.

Parameter Description Format Required
customerId Generated unique customer id on per user sign up. A255 Yes
walletOwnerId Provided by Paymentplug Unique id. N20
[0-9]
Yes
verificationHash Verification Hash has collected combination of parameters. String Yes
Response Parameters

This reference list lists all the standard flow parameters to be received in response.

Parameter Description Format Required
responseCode Response code [a-zA-Z0-9] Yes
loyaltyPoints Total redeem points. N
[0-9]
Yes

List of response code from API

Response Code Message
1 Success
2 Fail
3 Invalid Request