Deduct

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Deducts points from a user's loyalty account within a loyalty program. It verifies the existence of the user and proceeds to retrieve the points to be deducted. It then checks if the user possesses sufficient points for deduction; if not, it returns an error message. Subsequently it deducts the specified points from the user's loyalty account for the given merchant, with an optional reference ID. Finally, it sets a reason for the deduction and returns a success message upon completion.

Body Params
string
required
string
int32
required

Points to deduct

string

An optional Reference ID

string
required

Reason for deducting points

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json