Cart settings

Retrieve session content

put
Header parameters
X-Avangate-AuthenticationstringRequired

Authentication header

Example: 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/0
200

OK

Retrieve price information using a multitude of filters

put
Header parameters
X-Avangate-AuthenticationstringRequired

Authentication header

Example: code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"
Acceptstring · enumRequiredExample: application/jsonPossible values:
Body
CurrencystringRequired
CouponCodestringOptional
PayTypestring · enumOptionalPossible values:
Responses
put
/orders/0/price

Get the list of payment methods available for your shoppers.

get

Get the list of payment methods enabled on your account, available for your shoppers, with currencies and countries. The result can be filtered by PaymentMethod and CountryCode.

Query parameters
CountryCodestringOptionalExample: ro
PaymentMethodstring · enumOptionalExample: CCPossible values:
Header parameters
Acceptstring · enumRequiredDefault: application/jsonExample: application/jsonPossible values:
X-Avangate-AuthenticationstringRequired

Authentication header

Example: code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"
Responses
200

Returns a payment methods collection

application/json
Currenciesstring[]Optional

ISO 3-Letter Currency Code

Example: EUR
Countriesstring[]Optional

ISO 2-Letter Country Code

Example: RO
BusinessCompanystringOptionalExample: AVANGATE_BV
HasRenewalbooleanOptionalExample: true
PaymentTypestringOptionalExample: amex
PaymentMethodstringOptionalExample: CC
SupportsTrialbooleanOptionalExample: true
get
/paymentmethods

Get the list of available currencies

get

Retrieve the list of available currencies enabled on your account, available for your shoppers. If the country and payment method parameters are received, will be returned just the currencies for the specific country and payment method.

Query parameters
CountryCodestringOptionalExample: ro
PaymentMethodstring · enumOptionalExample: CCPossible values:
Header parameters
Acceptstring · enumRequiredDefault: application/jsonExample: application/jsonPossible values:
X-Avangate-AuthenticationstringRequired

Authentication header

Example: code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"
Responses
200

Returns currencies collection

application/json
CodestringOptionalExample: USD
ISO3DigitCodeintegerOptionalExample: 840
LabelstringOptionalExample: United States Dollar
SymbolstringOptionalExample: $
SymbolPositionstringOptionalExample: left
DecimalSeparatorstringOptionalExample: .
UnitSeparatorstringOptionalExample: ,
DecimalsintegerOptionalExample: 2
get
/currencies

Get the list of available countries

get

Retrieve the list of available countries enabled on your account, from which your shoppers can purchase. If the language parameter is received, the country names will be translated.

Query parameters
languagestringOptionalExample: nl
Header parameters
Acceptstring · enumRequiredDefault: application/jsonExample: application/jsonPossible values:
X-Avangate-AuthenticationstringRequired

Authentication header

Example: code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"
Responses
200

Returns countries collection

application/json
CodestringOptionalExample: AF
LabelstringOptionalExample: Afghanistan
get
/countries

Get the list of states for a specific country

get
Path parameters
countryCodestringRequired

Country code

Example: fr
Header parameters
Acceptstring · enumRequiredDefault: application/jsonExample: application/jsonPossible values:
X-Avangate-AuthenticationstringRequired

Authentication header

Example: code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"
Responses
200

Returns states collection

application/json
NamestringOptionalExample: Alabama
CodestringOptionalExample: AL
get
/countries/{countryCode}/states

Last updated

Was this helpful?