Cart settings
Header parameters
X-Avangate-AuthenticationstringRequiredExample:
Authentication header
code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"Acceptstring · enumRequiredExample:
application/jsonPossible values: Body
ExternalCustomerReferencestringOptional
CustomerReferencestringOptional
CountrystringOptional
CurrencystringOptional
CustomerIPstringOptional
LanguagestringOptional
SourcestringOptional
Responses
200
OK
application/json
put
/orders/0200
OK
Header parameters
X-Avangate-AuthenticationstringRequiredExample:
Authentication header
code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"Acceptstring · enumRequiredExample:
application/jsonPossible values: Body
CurrencystringRequired
CouponCodestringOptional
PayTypestring · enumOptionalPossible values:
Responses
201
Successful request
application/json
400
Bad request
application/json
put
/orders/0/priceQuery parameters
CountryCodestringOptionalExample:
roPaymentMethodstring · enumOptionalExample:
CCPossible values: Header parameters
Acceptstring · enumRequiredDefault:
application/jsonExample: application/jsonPossible values: X-Avangate-AuthenticationstringRequiredExample:
Authentication header
code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"Responses
200
Returns a payment methods collection
application/json
Currenciesstring[]OptionalExample:
ISO 3-Letter Currency Code
EURCountriesstring[]OptionalExample:
ISO 2-Letter Country Code
ROBusinessCompanystringOptionalExample:
AVANGATE_BVHasRenewalbooleanOptionalExample:
truePaymentTypestringOptionalExample:
amexPaymentMethodstringOptionalExample:
CCSupportsTrialbooleanOptionalExample:
true400
Error
application/json
get
/paymentmethodsQuery parameters
CountryCodestringOptionalExample:
roPaymentMethodstring · enumOptionalExample:
CCPossible values: Header parameters
Acceptstring · enumRequiredDefault:
application/jsonExample: application/jsonPossible values: X-Avangate-AuthenticationstringRequiredExample:
Authentication header
code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"Responses
200
Returns currencies collection
application/json
CodestringOptionalExample:
USDISO3DigitCodeintegerOptionalExample:
840LabelstringOptionalExample:
United States DollarSymbolstringOptionalExample:
$SymbolPositionstringOptionalExample:
leftDecimalSeparatorstringOptionalExample:
.UnitSeparatorstringOptionalExample:
,DecimalsintegerOptionalExample:
2400
Error
application/json
get
/currenciesQuery parameters
languagestringOptionalExample:
nlHeader parameters
Acceptstring · enumRequiredDefault:
application/jsonExample: application/jsonPossible values: X-Avangate-AuthenticationstringRequiredExample:
Authentication header
code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"Responses
200
Returns countries collection
application/json
CodestringOptionalExample:
AFLabelstringOptionalExample:
Afghanistan400
Error
application/json
get
/countriesPath parameters
countryCodestringRequiredExample:
Country code
frHeader parameters
Acceptstring · enumRequiredDefault:
application/jsonExample: application/jsonPossible values: X-Avangate-AuthenticationstringRequiredExample:
Authentication header
code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"Responses
200
Returns states collection
application/json
NamestringOptionalExample:
AlabamaCodestringOptionalExample:
AL400
Error
application/json
get
/countries/{countryCode}/statesLast updated
Was this helpful?