Coupon Redemptions
HTTP Basic Authentication. The username is your Merchant ID and the password is your API Key. The combined string Merchant_Id:Api_Key should be Base64 encoded.
The ID of the coupon for which to retrieve redemptions.
cpn-1502288320598b19c0d59fdA successful response returns a list of redemption objects.
https://api.vauchar.com/coupons/cpn-1502288320598b19c0d59fd/redemptions2Unauthorized. The API Key or Merchant ID is missing or invalid.
Not Found. The coupon with the specified ID does not exist.
Internal Server Error.
HTTP Basic Authentication. The username is your Merchant ID and the password is your API Key. The combined string Merchant_Id:Api_Key should be Base64 encoded.
The ID of the coupon to redeem.
cpn-1502288320598b19c0d59fdThe unique identifier for the user redeeming the coupon.
The email address of the user.
The phone number of the user.
The identifier for the transaction this redemption is part of.
The value used in this specific transaction.
Successful redemption. Returns the created redemption object.
The direct URL to this specific redemption resource.
The type of the object, in this case, "redemption".
The unique identifier for the redemption.
The ID of the coupon that was redeemed.
The ID of the user who redeemed the coupon.
The ID of the customer associated with the redemption.
The email of the user who redeemed the coupon.
The phone number of the user who redeemed the coupon.
The ID of the transaction associated with this redemption.
The value of the discount applied in this redemption.
The ID of the team associated with this redemption, if any.
The timestamp when the redemption occurred (Unix timestamp).
Bad Request. The redemption is invalid (e.g., coupon expired, redemption limit reached).
Unauthorized. The API Key or Merchant ID is missing or invalid.
Not Found. The coupon with the specified ID does not exist.
Internal Server Error.
HTTP Basic Authentication. The username is your Merchant ID and the password is your API Key. The combined string Merchant_Id:Api_Key should be Base64 encoded.
The ID of the coupon.
cpn-1502288320598b19c0d59fdThe ID of the redemption to retrieve.
res-1502473727598dedff485f1A successful response returns the specified redemption object.
https://api.vauchar.com/coupons/cpn-1502288320598b19c0d59fd/redemptions/res-1502473727598dedff485f1Unauthorized. The API Key or Merchant ID is missing or invalid.
Not Found. The redemption with the specified ID could not be found.
Internal Server Error.
HTTP Basic Authentication. The username is your Merchant ID and the password is your API Key. The combined string Merchant_Id:Api_Key should be Base64 encoded.
The ID of the coupon.
cpn-1502288320598b19c0d59fdThe ID of the redemption to delete.
res-150675935459cf52bad9207No Content. The redemption was successfully deleted.
Unauthorized. The API Key or Merchant ID is missing or invalid.
Not Found. The redemption with the specified ID could not be found.
Internal Server Error.
No content
Last updated