Verify Coupon Number

HTTP Method

POST /api/Integration/{version}/VerifyCouponNumber

Request

Request Header

AttributeTypeRequired

ClientId

string

YES

Request Body

AttributeTypeRequired

couponNumber

string

YES

branchMsisdn

string

YES

burn

boolean

YES

forceXMLResult

boolean

NO

burn attribute if False then it will be checked only if the coupon number verified or not, If TRUE will burn automatically if coupon number verified

Response

Response Body

{
    "CustomerMSISDN": "",
    "DiscountPercentage": 50.0,
    "DiscountValue": 11.0,
    "DiscountValueType": "EGP",
    "ErrorCode": 0,
    "Message": "Coupon burned successfully",
    "OfferName": "test offer 1",
    "OfferNumber": "2022",
    "PriceAfter": 0.0,
    "PriceBefore": 11.0,
    "ProjectNumber": "4",
    "RemainingUsage": 49,
    "SMSType": "0",
    "Value": 0.0,
    "OfferMaxDiscount": null,
    "OfferMinInvoice": null,
    "BurningMSISDN": "201020792658"
}

Last updated