Update Merchant Amex Express Checkout Configuration

Operation to board or update a merchant's configuration in Amex Express Checkout.

POST https://mtf.gateway.mastercard.com/api/rest/version/33 / merchant / {merchantId} / amexExpressCheckoutConfiguration

Authentication Copied to clipboard

This operation requires authentication via one of the following methods:


  • Certificate authentication.
  • Basic HTTP authentication as described at w3.org. Provide 'merchant.<your gateway merchant ID>' in the userid portion and your API password in the password portion.

Request Copied to clipboard

URL Parameters Copied to clipboard

{merchantId} Copied to clipboard Alphanumeric + additional characters REQUIRED

The unique identifier issued to you by your payment provider.


This identifier can be up to 12 characters in length.


Data may consist of the characters 0-9, a-z, A-Z, '-', '_'

Min length: 1 Max length: 40

Fields Copied to clipboard

To view the optional fields, please toggle on the "Show optional fields" setting.

amexMerchantConfig Copied to clipboard OPTIONAL

The merchant's Amex Express Checkout configuration.

amexMerchantConfig.acceptedCards[n] Copied to clipboard Enumeration REQUIRED

The major credit card types that are accepted by this particular Merchant.

Value must be a member of the following list. The values are case sensitive.

AMEX
MASTERCARD
VISA
amexMerchantConfig.amexMerchantId Copied to clipboard String OPTIONAL

Amex Merchant Id or Client id of Amex Merchant.

Data can consist of any characters

Min length: 0 Max length: 36
amexMerchantConfig.businessContact Copied to clipboard REQUIRED

Primary business contact.

amexMerchantConfig.businessContact.email Copied to clipboard String OPTIONAL

Primary contact email.

Data can consist of any characters

Min length: 0 Max length: 254
amexMerchantConfig.businessContact.fax Copied to clipboard String OPTIONAL

Primary contact fax.

Data can consist of any characters

Min length: 0 Max length: 24
amexMerchantConfig.businessContact.firstName Copied to clipboard String REQUIRED

Primary first name.

Data can consist of any characters

Min length: 0 Max length: 50
amexMerchantConfig.businessContact.lastName Copied to clipboard String REQUIRED

Primary last name.

Data can consist of any characters

Min length: 0 Max length: 50
amexMerchantConfig.businessContact.phone Copied to clipboard String REQUIRED

Primary contact phone number.

Data can consist of any characters

Min length: 0 Max length: 24
amexMerchantConfig.businessName Copied to clipboard String REQUIRED

Name of Merchant.

Data can consist of any characters

Min length: 0 Max length: 120
amexMerchantConfig.callbackProdURL Copied to clipboard Url OPTIONAL

The Production URL the browser will be redirected to by Amex Express Checkout based on successful customer login and card selection.

Ensure that the URL begins with 'https' and is longer than 11 characters.

amexMerchantConfig.callbackQAURL Copied to clipboard Url OPTIONAL

The QA URL the browser will be redirected to by Amex Express Checkout based on successful customer login and card selection.

Ensure that the URL begins with 'https' and is longer than 11 characters.

amexMerchantConfig.cartProviderName Copied to clipboard String OPTIONAL

Name of eCommerce shopping cart provider.

Data can consist of any characters

Min length: 0 Max length: 100
amexMerchantConfig.currencyCode Copied to clipboard Upper case alphabetic text REQUIRED

The currency of the order expressed as an ISO 4217 alpha code, e.g. USD.

Data must consist of the characters A-Z

Min length: 3 Max length: 3
amexMerchantConfig.defaultSENO Copied to clipboard String REQUIRED

Default AMEX Service Establishment number (sometimes referred to as Merchant Numbers or MIDs).

Used to register with Safekey ACS.

Data can consist of any characters

Min length: 0 Max length: 15
amexMerchantConfig.errorCallbackProdURL Copied to clipboard Url OPTIONAL

The Prod URL the browser will be redirected to by Amex Express Checkout in case of an error.

Ensure that the URL begins with 'https' and is longer than 11 characters.

amexMerchantConfig.errorCallbackQAURL Copied to clipboard Url OPTIONAL

The QA URL the browser will be redirected to by Amex Express Checkout in case of an error.

Ensure that the URL begins with 'https' and is longer than 11 characters.

amexMerchantConfig.gmtOffsetKey Copied to clipboard Digits REQUIRED

Identifier for the Time Zone offset from Greenwich Mean Time.

Data is a number between 0 and 999 represented as a string.

amexMerchantConfig.mcMerchantID Copied to clipboard String OPTIONAL

Used to register with MCSC ACS.

Required only if Secure Code enabled

Data can consist of any characters

Min length: 0 Max length: 19
amexMerchantConfig.merchantAddress Copied to clipboard REQUIRED

Merchant's address

amexMerchantConfig.merchantAddress.city Copied to clipboard String REQUIRED

City

Data can consist of any characters

Min length: 0 Max length: 50
amexMerchantConfig.merchantAddress.country Copied to clipboard String REQUIRED

ISO-3166-1 alpha-2 standard country associated with the merchant's address.

Data can consist of any characters

Min length: 0 Max length: 2
amexMerchantConfig.merchantAddress.line1 Copied to clipboard String REQUIRED

First line of the merchant's address

Data can consist of any characters

Min length: 0 Max length: 200
amexMerchantConfig.merchantAddress.line2 Copied to clipboard String OPTIONAL

Second line of the merchant's address

Data can consist of any characters

Min length: 0 Max length: 200
amexMerchantConfig.merchantAddress.phone Copied to clipboard String REQUIRED

Merchant's Contact Phone number.

Data can consist of any characters

Min length: 0 Max length: 24
amexMerchantConfig.merchantAddress.postalCode Copied to clipboard String REQUIRED

Postal code associated with the merchant's address.

Data can consist of any characters

Min length: 0 Max length: 20
amexMerchantConfig.merchantAddress.state Copied to clipboard String REQUIRED

State or province code associated with the address.

Data can consist of any characters

Min length: 0 Max length: 50
amexMerchantConfig.qaURL Copied to clipboard Url OPTIONAL

The QA URL of the store.

Ensure that the URL begins with 'https' and is longer than 11 characters.

amexMerchantConfig.safeKeyAcquirerBin Copied to clipboard String OPTIONAL

TODO Text not defined in User Story

Data can consist of any characters

Min length: 0 Max length: 20
amexMerchantConfig.safeKeyEnabled Copied to clipboard String REQUIRED

Indicator if the merchant is SafeKey enabled.

Data can consist of any characters

Min length: 0 Max length: 1
amexMerchantConfig.seNumbers[n] Copied to clipboard Digits OPTIONAL

Full list of AMEX Service Establishment numbers (sometimes referred to as Merchant Numbers or MIDs) used by Merchant.

You can provide up to 200 SE Numbers in json format.

Data is a number between 0 and 999999999999999 represented as a string.

amexMerchantConfig.secureCodeEnabled Copied to clipboard String REQUIRED

Indicator if the merchant is SecureCode enabled.

Data can consist of any characters

Min length: 1 Max length: 1
amexMerchantConfig.shipToCountries[n] Copied to clipboard Upper case alphabetic text OPTIONAL

A list of ISO 3166-Alpha 2 country codes where shipping is acceptable.

Data must consist of the characters A-Z

Min length: 2 Max length: 2
amexMerchantConfig.shippingMethod[n] Copied to clipboard Enumeration OPTIONAL

The method(s) of shipping allowed for the transaction.

Value must be a member of the following list. The values are case sensitive.

DOWNLOAD
SHIP
STORE
amexMerchantConfig.storeURL Copied to clipboard Url REQUIRED

The Production URL of the store.

The merchant's store homepage in Production.

Ensure that the URL begins with 'https' and is longer than 11 characters.

amexMerchantConfig.techContact Copied to clipboard REQUIRED

Primary technical contact.

amexMerchantConfig.techContact.email Copied to clipboard String OPTIONAL

Primary contact email.

Data can consist of any characters

Min length: 0 Max length: 254
amexMerchantConfig.techContact.fax Copied to clipboard String OPTIONAL

Primary contact fax.

Data can consist of any characters

Min length: 0 Max length: 24
amexMerchantConfig.techContact.firstName Copied to clipboard String REQUIRED

Primary first name.

Data can consist of any characters

Min length: 0 Max length: 50
amexMerchantConfig.techContact.lastName Copied to clipboard String REQUIRED

Primary last name.

Data can consist of any characters

Min length: 0 Max length: 50
amexMerchantConfig.techContact.phone Copied to clipboard String REQUIRED

Primary contact phone number.

Data can consist of any characters

Min length: 0 Max length: 24
amexMerchantConfig.verifiedByVisaEnabled Copied to clipboard String REQUIRED

Indicator if merchant is Verified by VISA enabled.

Data can consist of any characters

Min length: 0 Max length: 1
amexMerchantConfig.version Copied to clipboard Digits REQUIRED

The version used for optimistic locking.

Data is a number between 0 and 2147483647 represented as a string.

amexMerchantConfig.visaMerchantID Copied to clipboard String OPTIONAL

Used to register with VBV ACS.

Required only if Verified By Visa enabled

Data can consist of any characters

Min length: 0 Max length: 19
amexMerchantConfig.websiteURL Copied to clipboard Url REQUIRED

Merchant's store website.

Ensure that the URL begins with 'https' and is longer than 11 characters.

correlationId Copied to clipboard String OPTIONAL

A transient identifier for the request, that can be used to match the response to the request.

The value provided is not validated, does not persist in the gateway, and is returned as provided in the response to the request.

Data can consist of any characters

Min length: 1 Max length: 100

Response Copied to clipboard

Fields Copied to clipboard

To view the conditional fields, please toggle on the "Show conditional fields" setting.

amexMerchantConfig Copied to clipboard String CONDITIONAL

The merchant's configuration in Amex Express Checkout.

Data can consist of any characters

Min length: 0 Max length: 2147483647
correlationId Copied to clipboard String CONDITIONAL

A transient identifier for the request, that can be used to match the response to the request.

The value provided is not validated, does not persist in the gateway, and is returned as provided in the response to the request.

Data can consist of any characters

Min length: 1 Max length: 100

Errors Copied to clipboard

error Copied to clipboard

Information on possible error conditions that may occur while processing an operation using the API.

error.cause Copied to clipboard Enumeration

Broadly categorizes the cause of the error.

For example, errors may occur due to invalid requests or internal system failures.

Value must be a member of the following list. The values are case sensitive.

INVALID_REQUEST

The request was rejected because it did not conform to the API protocol.

REQUEST_REJECTED

The request was rejected due to security reasons such as firewall rules, expired certificate, etc.

SERVER_BUSY

The server did not have enough resources to process the request at the moment.

SERVER_FAILED

There was an internal system failure.

error.explanation Copied to clipboard String

Textual description of the error based on the cause.

This field is returned only if the cause is INVALID_REQUEST or SERVER_BUSY.

Data can consist of any characters

Min length: 1 Max length: 1000
error.field Copied to clipboard String

Indicates the name of the field that failed validation.

This field is returned only if the cause is INVALID_REQUEST and a field level validation error was encountered.

Data can consist of any characters

Min length: 1 Max length: 100
error.supportCode Copied to clipboard String

Indicates the code that helps the support team to quickly identify the exact cause of the error.

This field is returned only if the cause is SERVER_FAILED or REQUEST_REJECTED.

Data can consist of any characters

Min length: 1 Max length: 100
error.validationType Copied to clipboard Enumeration

Indicates the type of field validation error.

This field is returned only if the cause is INVALID_REQUEST and a field level validation error was encountered.

Value must be a member of the following list. The values are case sensitive.

INVALID

The request contained a field with a value that did not pass validation.

MISSING

The request was missing a mandatory field.

UNSUPPORTED

The request contained a field that is unsupported.

result Copied to clipboard Enumeration

A system-generated high level overall result of the operation.

Value must be a member of the following list. The values are case sensitive.

ERROR

The operation resulted in an error and hence cannot be processed.