PUT v1/Pricing/ValidatePromoCode
Check if a promotional code is valid for the transaction
Request Information
Parameters (ParameterName * = required)
Name
Description
Sample Value
PromoCode
No description available
Not available
DeliveryMethod
No description available
Not available
PaymentMethod
No description available
Not available
AmountFrom
No description available
Not available
PromoId
No description available
Not available
CountryTo *
The 2-letter country code the customer is sending to
MX
CountryFrom
The 2-letter country code the customer is sending from
MX
CurrencyTo *
The 3-letter currency code that the funds will be paid out in
MXN
CurrencyFrom
The 3-letter currency code that the funds will be paid out in
MXN
Response Information
Response body formats
application/json, text/json
Sample:
{ "promoCode": "sample string 1", "promoCodeIsValid": true }
application/xml, text/xml
Sample:
<ValidatePromoCodeResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ria.Digital.WebServices.DataModels"> <_x003C_PromoCodeIsValid_x003E_k__BackingField>true</_x003C_PromoCodeIsValid_x003E_k__BackingField> <_x003C_PromoCode_x003E_k__BackingField>sample string 1</_x003C_PromoCode_x003E_k__BackingField> </ValidatePromoCodeResponse>