Payment Options Inquiry

Request to retrieve the options available for processing a payment, for example, the credit cards and currencies.

You can also use this operation to perform a Rate Quote for Dynamic Currency Conversion.

Warning! This operation must not be called directly from the browser, as it would reveal the integration password to customers.

This operation may not be needed if such values rarely change and can be hard-coded into the website handling the transaction. However, the operation is useful for populating and validating transaction fields (for example) if these values can change in real time for a business's website.

If the operation is called with no parameters, all values that could apply for all fields are returned: all of the possible currencies, all of the possible card types, and so on. Non-complex websites can use this unmodified data set for building a website's presentation and input validation.

Some websites require more complex configuration (for example, where USD and EUR currencies are supported on MasterCard and Visa, but only USD on American Express). Call the operation with parameters to restrict the returned values. If a sourceOfFunds.provided.card.prefix is passed in, only currencies applicable to the card brand identified by the prefix are returned. If an order.currency is passed in, only payment options applicable for that currency are returned.

GET https://na.gateway.mastercard.com/api/rest/version/36 / merchant / {merchantId} / paymentOptionsInquiry

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 Reporting 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.


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" setting.

correlationId Copied to clipboard String

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
locale Copied to clipboard String

A language identifier or IETF language tag to control the language of the payment interaction with the payer (e.g. en_US, es, fr-CA).

By default, the language is determined from your configuration. Supply a value for this field only if you wish to override the default behavior. If the language you specify is not supported by the gateway, the payment is displayed in the best matching language.

See Dynamic Currency Conversion for more detail.

Data must be a language identifier or IETF language tag

Min length: 2 Max length: 5
order Copied to clipboard

Information about the order associated with this transaction.

order.amount Copied to clipboard Decimal

The total amount for the order.

If you supply this value then you must provide order.currency to filter the response values.

Data is a string that consists of the characters 0-9 and '.' and represents a valid decimal number.

Min length: 1 Max length: 14
order.currency Copied to clipboard Upper case alphabetic text

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
paymentType Copied to clipboard Enumeration

The payment method the payer wishes to use to pay for this order.

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

ACH
BANCANET
CARD
GIFT_CARD
GIROPAY
PAYPAL
SOFORT
UNION_PAY
session.id Copied to clipboard ASCII Text

Identifier of the payment session containing values for any of the request fields to be used in this operation.

Values provided in the request will override values contained in the session.

Data consists of ASCII characters

Min length: 31 Max length: 35
session.version Copied to clipboard ASCII Text

Use this field to implement optimistic locking of the session content.

Do this if you make business decisions based on data from the session and wish to ensure that the same data is being used for the request operation.

To use optimistic locking, record session.version when you make your decisions, and then pass that value in session.version when you submit your request operation to the gateway.

If session.version provided by you does not match that stored against the session, the gateway will reject the operation with error.cause=INVALID_REQUEST.

See Making Business Decisions Based on Session Content.

Data consists of ASCII characters

Min length: 10 Max length: 10
sourceOfFunds Copied to clipboard

Information about the payment type selected by the payer for this payment and the source of the funds.

Depending on the payment type the source of the funds can be a debit or credit card, bank account, or account with a browser payment provider (such as PayPal).

For card payments the source of funds information may be represented by combining one or more of the following: explicitly provided card details, a session identifier which the gateway will use to look up the card details and/or a card token. Precedence rules will be applied in that explicitly provided card details will override session card details which will override card token details. Each of these may represent partial card details, however the combination must result in a full and complete set of card details. See Using Multiple Sources of Card Details for examples.

sourceOfFunds.provided.card.prefix Copied to clipboard Digits

The first 6 digits of the card number up to a maximum of 9 digits, as printed on the card.

Data is a string that consists of the characters 0-9.

Min length: 6 Max length: 9
sourceOfFunds.token Copied to clipboard Alphanumeric

Uniquely identifies a card and associated details.

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

Min length: 1 Max length: 40
transactionSource Copied to clipboard Enumeration

The source through which the order has been received.

For example, INTERNET, MOTO.

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

CALL_CENTRE

Transaction conducted via a call centre.

CARD_PRESENT

Transaction where the card is presented to the merchant.

INTERNET

Transaction conducted over the Internet.

MAIL_ORDER

Transaction received by mail.

MOTO

Transaction received by mail or telephone.

TELEPHONE_ORDER

Transaction received by telephone.

VOICE_RESPONSE

Transaction conducted by a voice/DTMF recognition system.


Response Copied to clipboard

Fields Copied to clipboard

correlationId Copied to clipboard String

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
merchant Copied to clipboard Alphanumeric + additional characters ALWAYS PROVIDED

Your identifier issued to you by your provider.

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

Min length: 1 Max length: 40
paymentTypes Copied to clipboard

The payment method the payer wishes to use to pay for this order.

paymentTypes.ach Copied to clipboard

Details about supported Automated Clearing House (ACH) payment options.

paymentTypes.ach.currencies[n] Copied to clipboard

Information on the currencies supported for this order.

paymentTypes.ach.currencies[n].currency Copied to clipboard Upper case alphabetic text

The list of valid currencies (expressed using ISO 4217 alpha code) for this order based on the values supplied in the request parameters.

For example, AUD stands for Australian Dollar.

Data must consist of the characters A-Z

Min length: 3 Max length: 3
paymentTypes.ach.transactionSources[n] Copied to clipboard

Information on the supported sources through which the order can be received.

paymentTypes.ach.transactionSources[n].transactionSource Copied to clipboard Enumeration ALWAYS PROVIDED

The list of valid transaction sources for this order based on the values supplied in the request parameters.

For example, INTERNET, MOTO.

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

CALL_CENTRE

Transaction conducted via a call centre.

CARD_PRESENT

Transaction where the card is presented to the merchant.

INTERNET

Transaction conducted over the Internet.

MAIL_ORDER

Transaction received by mail.

MOTO

Transaction received by mail or telephone.

TELEPHONE_ORDER

Transaction received by telephone.

VOICE_RESPONSE

Transaction conducted by a voice/DTMF recognition system.

paymentTypes.bancanet Copied to clipboard

Details about supported BancaNet browser payment options.

paymentTypes.bancanet.currencies[n] Copied to clipboard

Information on the currencies supported for this order.

paymentTypes.bancanet.currencies[n].currency Copied to clipboard Upper case alphabetic text

The list of valid currencies (expressed using ISO 4217 alpha code) for this order based on the values supplied in the request parameters.

For example, AUD stands for Australian Dollar.

Data must consist of the characters A-Z

Min length: 3 Max length: 3
paymentTypes.bancanet.transactionSources[n] Copied to clipboard

Information on the supported sources through which the order can be received.

paymentTypes.bancanet.transactionSources[n].transactionSource Copied to clipboard Enumeration ALWAYS PROVIDED

The list of valid transaction sources for this order based on the values supplied in the request parameters.

For example, INTERNET, MOTO.

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

CALL_CENTRE

Transaction conducted via a call centre.

CARD_PRESENT

Transaction where the card is presented to the merchant.

INTERNET

Transaction conducted over the Internet.

MAIL_ORDER

Transaction received by mail.

MOTO

Transaction received by mail or telephone.

TELEPHONE_ORDER

Transaction received by telephone.

VOICE_RESPONSE

Transaction conducted by a voice/DTMF recognition system.

paymentTypes.card Copied to clipboard

Details about supported credit and debit card payment options.

paymentTypes.card.3DSecureSchemes[n] Copied to clipboard

Information on whether you are set up to use one or more 3DSecure schemes.

The 3DSecure scheme applicable for an order depends on the card type used to pay for the order.

paymentTypes.card.3DSecureSchemes[n].3DSecureScheme Copied to clipboard Enumeration ALWAYS PROVIDED

The list of valid 3D-Secure schemes supported for this order based on the values supplied in the request parameters.

For example, MasterCard SecureCode, Verified by Visa, JSecure, Diners Club ProtectBuy.

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

AMEX_SAFE_KEY
J_SECURE
PROTECT_BUY
SECURE_CODE
VERIFIED_BY_VISA
paymentTypes.card.capabilities[n] Copied to clipboard

Indicates capabilities available to you for card payments.

paymentTypes.card.capabilities[n].capability Copied to clipboard Enumeration ALWAYS PROVIDED

Indicates capabilities available to you for card payments.

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

ADDRESS_VERIFICATION

Indicates if you are allowed to use the Address Verification Service (AVS) to verify address details supplied by the cardholder.

CARD_SECURITY_CODE

Indicates if you are allowed to use the Card Security Check to verify the Card Security Code (CSC) supplied by the cardholder

NO_CARD_SECURITY_CODE_PRINTED_ON_CARD

Indicates if you are allowed to accept payments from credit cards without a Card Security Code (CSC) printed on the card.

paymentTypes.card.cardTypes[n] Copied to clipboard

Information on the card types supported for this order.

paymentTypes.card.cardTypes[n].cardType Copied to clipboard String ALWAYS PROVIDED

The list of valid card types for this order based on the values supplied in the request parameters.

For example, MasterCard, Visa, American Express.

Data can consist of any characters

Min length: 3 Max length: 50
paymentTypes.card.currencies[n] Copied to clipboard

Information on the currencies supported for this order.

paymentTypes.card.currencies[n].currency Copied to clipboard Upper case alphabetic text

The list of valid currencies (expressed using ISO 4217 alpha code) for this order based on the values supplied in the request parameters.

For example, AUD stands for Australian Dollar.

Data must consist of the characters A-Z

Min length: 3 Max length: 3
paymentTypes.card.currencyConversion Copied to clipboard

Information on currency conversion if the merchant has the permission to offer dynamic currency conversion (DCC) services to the payer.

paymentTypes.card.currencyConversion.exchangeRateSource Copied to clipboard String

The financial data agency used as a source for the exchange rate.

The source of the exchange rate may need to be displayed to the payer on the merchant site to satisfy regulatory requirements.

Data can consist of any characters

Min length: 1 Max length: 100
paymentTypes.card.currencyConversion.exchangeRateTime Copied to clipboard DateTime

The timestamp of when the conversion rate is effective.

The timestamp may need to be displayed to the payer on the merchant site to satisfy regulatory requirements.

An instant in time expressed in ISO8601 date + time format - "YYYY-MM-DDThh:mm:ss.SSSZ"

paymentTypes.card.currencyConversion.gatewayCode Copied to clipboard Enumeration ALWAYS PROVIDED

Summary of the success or otherwise of the DCC quote request.

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

ERROR

The DCC provider was unable to process this operation.

INSUFFICIENT_INFORMATION

Cannot provide DCC quote as required fields are missing (amount, currency, card prefix or session identifier or token).

NOT_ELIGIBLE

DCC not available for this card or currency.

QUOTE_PROVIDED

DCC quote successfully processed.

UNSUPPORTED_CARD_BRAND

DCC only supported for Visa, MasterCard, and Maestro cards.

paymentTypes.card.currencyConversion.marginPercentage Copied to clipboard Decimal

The foreign exchange markup applied as a percentage to the transaction amount for providing the conversion service.

The margin percentage may need to be displayed to the payer on the merchant site to satisfy regulatory requirements.

Data is a decimal number.

Max value: 10000000 Min value: 0 Max post-decimal digits: 5
paymentTypes.card.currencyConversion.offerText Copied to clipboard String

This is a piece of HTML markup that can be included as part of your website to offer the payer the currency conversion quote.

It contains information necessary to comply with scheme requirements.

Data can consist of any characters

Min length: 1 Max length: 4096
paymentTypes.card.currencyConversion.payerAmount Copied to clipboard Decimal

The total amount of the transaction in the payer's currency.

You must include this field if the payer accepted the DCC offer you presented to them.

Data is a decimal number.

Max value: 1000000000000 Min value: 0 Max post-decimal digits: 3
paymentTypes.card.currencyConversion.payerCurrency Copied to clipboard Upper case alphabetic text

The currency of the DCC rate quote provided by your DCC Service Provider.

The currency must be expressed as an ISO 4217 alpha code, e.g. USD and must be different to that provided for transaction currency. You must include this field if the payer accepted the DCC offer you presented to them.

Data must consist of the characters A-Z

Min length: 3 Max length: 3
paymentTypes.card.currencyConversion.payerExchangeRate Copied to clipboard Decimal

The exchange rate used to convert the transaction amount into the payer's currency.

The payer exchange rate includes the foreign exchange markup (marginPercentage). The payer exchange rate is displayed to the payer on the merchant site.

Data is a decimal number.

Max value: 1000000000000000000 Min value: 0 Max post-decimal digits: 12
paymentTypes.card.currencyConversion.provider Copied to clipboard Enumeration

This identifies the name of the provider of the DCC quote.

This data is for information purposes, and may be useful if you use multiple DCC providers.

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

FEXCO
TRAVELEX_CURRENCY_SELECT
paymentTypes.card.currencyConversion.providerCode Copied to clipboard ASCII Text

Value as generated by the quote provider that summarizes the success or otherwise of the DCC quote request.

Data consists of ASCII characters

Min length: 1 Max length: 100
paymentTypes.card.currencyConversion.providerReceipt Copied to clipboard String

The quote provider's unique reference to the rate quote.

Data can consist of any characters

Min length: 1 Max length: 100
paymentTypes.card.currencyConversion.quoteExpiry Copied to clipboard DateTime

The timestamp indicating when the DCC quote offer expires.

An instant in time expressed in ISO8601 date + time format - "YYYY-MM-DDThh:mm:ss.SSSZ"

paymentTypes.card.currencyConversion.requestId Copied to clipboard String

The unique identifier for your DCC quote request as returned in the PAYMENT_OPTIONS_INQUIRY response.

Data can consist of any characters

Min length: 1 Max length: 100
paymentTypes.card.enforceCardSecurityCodeEntry Copied to clipboard Enumeration

Indicates if the cardholder must be forced to enter the Card Security Code (CSC) when using a credit card to pay for the order.

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

FALSE
TRUE
UNDETERMINED
paymentTypes.card.paymentPlans[n] Copied to clipboard

Information on valid payment plans for this order based on the values supplied in the request parameters.

paymentTypes.card.paymentPlans[n].endDate Copied to clipboard String

The end date for the payment plan.

This field is only returned if the plan has a known end date.

Data can consist of any characters

Min length: 10 Max length: 50
paymentTypes.card.paymentPlans[n].minimumOrderAmounts[n] Copied to clipboard

Information on the minimum order amount for the payment plan.

This field is only returned if the plan has a minimum order amount.

paymentTypes.card.paymentPlans[n].minimumOrderAmounts[n].amount Copied to clipboard Decimal

The minimum order amount for the payment plan.

The configured payment plans will be offered only if the total order amount is greater than or equal to this minimum order amount.

Data is a decimal number.

Max value: 1000000000000 Min value: 0 Max post-decimal digits: 3
paymentTypes.card.paymentPlans[n].minimumOrderAmounts[n].currency Copied to clipboard String

The currency (expressed as an ISO 4217 alpha code) for the minimum order amount.

Data can consist of any characters

Min length: 3 Max length: 3
paymentTypes.card.paymentPlans[n].numberOfDeferrals[n] Copied to clipboard Integer

The list of valid values specifying the number of months for which the payment can be deferred.

JSON number data type, restricted to being positive or zero. In addition, the represented number may have no fractional part.

Min value: 0 Max value: 99
paymentTypes.card.paymentPlans[n].numberOfPayments[n] Copied to clipboard Integer

The list of valid values specifying the number of monthly installments payable by the cardholder.

JSON number data type, restricted to being positive or zero. In addition, the represented number may have no fractional part.

Min value: 1 Max value: 99
paymentTypes.card.paymentPlans[n].payerInterest Copied to clipboard Boolean

Indicates if the payer is charged interest on the payment plan.

JSON boolean values 'true' or 'false'.

paymentTypes.card.paymentPlans[n].planId Copied to clipboard String

The identifier for the payment plan.

See Payment Plans for the supported payment plans and their identifiers.

Data can consist of any characters

Min length: 1 Max length: 40
paymentTypes.card.paymentPlans[n].planName Copied to clipboard String

The plan name as specified by you when you defined the parameters for this payment plan.

This field is only returned if applicable for this payment plan

Data can consist of any characters

Min length: 1 Max length: 80
paymentTypes.card.paymentPlans[n].planTemplate Copied to clipboard Enumeration

The payment plan template used to generate this payment plan instance.

This field is only returned if applicable for this payment plan.

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

PAY_IN_FULL_AFTER_DEFERRAL
PAY_IN_INSTALLMENTS_INTEREST_FREE
PAY_IN_INSTALLMENTS_INTEREST_FREE_AFTER_DEFERRAL
PAY_IN_INSTALLMENTS_WITH_INTEREST
PAY_IN_INSTALLMENTS_WITH_INTEREST_AFTER_DEFERRAL
paymentTypes.card.paymentPlans[n].startDate Copied to clipboard String

The start date for the payment plan.

This field is only returned if the plan has a known start date.

Data can consist of any characters

Min length: 10 Max length: 50
paymentTypes.card.tags Copied to clipboard String

Tags provide you with additional information about the card.

For example, identifying if it is an EBT (Electronic Benefits Transfer) or Health Benefit Card. You can use this information to support your decisions about accepting payments with this card. The data is encoded in JSON as an object map indexed on the tag name. Some standard tag names are EBT and HEALTH_BENEFIT_CARD_IIAS. If these tags apply to the card, the tag will have value true, otherwise it will be absent. Other tag names with other values might also exist, depending on which acquirer processed the transaction. For example, an EBT card might return value: {"ACME_CARD_IDENTIFIER":"23", "EBT":true} Contact your payment provider if you wish to understand all tags available for your acquirers.

Data can consist of any characters

Min length: 1 Max length: 2048
paymentTypes.card.transactionSources[n] Copied to clipboard

Information on the supported sources through which the order can be received.

paymentTypes.card.transactionSources[n].transactionSource Copied to clipboard Enumeration ALWAYS PROVIDED

The list of valid transaction sources for this order based on the values supplied in the request parameters.

For example, INTERNET, MOTO.

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

CALL_CENTRE

Transaction conducted via a call centre.

CARD_PRESENT

Transaction where the card is presented to the merchant.

INTERNET

Transaction conducted over the Internet.

MAIL_ORDER

Transaction received by mail.

MOTO

Transaction received by mail or telephone.

TELEPHONE_ORDER

Transaction received by telephone.

VOICE_RESPONSE

Transaction conducted by a voice/DTMF recognition system.

paymentTypes.card.walletProviders[n] Copied to clipboard

Indicates the wallet providers you are enabled and configured for, and that are supported for this order.

paymentTypes.card.walletProviders[n].walletProvider Copied to clipboard Enumeration ALWAYS PROVIDED

The wallet provider used to collect the customer's payment details used for this transaction.

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

AMEX_EXPRESS_CHECKOUT

Amex Express Checkout wallet provider.

MASTERPASS_ONLINE

MasterPass Online wallet provider.

VISA_CHECKOUT

Visa Checkout wallet provider.

paymentTypes.giftCard Copied to clipboard

Details about supported gift card payment options.

paymentTypes.giftCard.cardTypes[n] Copied to clipboard

Information on the gift card types supported for this order.

paymentTypes.giftCard.cardTypes[n].cardType Copied to clipboard String ALWAYS PROVIDED

Information on the gift card types supported for this order.

Data can consist of any characters

Min length: 1 Max length: 50
paymentTypes.giftCard.currencies[n] Copied to clipboard

Information on the currencies supported for this order.

paymentTypes.giftCard.currencies[n].currency Copied to clipboard Upper case alphabetic text

The list of valid currencies (expressed using ISO 4217 alpha code) for this order based on the values supplied in the request parameters.

For example, AUD stands for Australian Dollar.

Data must consist of the characters A-Z

Min length: 3 Max length: 3
paymentTypes.giftCard.transactionSources[n] Copied to clipboard

Information on the supported sources through which the order can be received.

paymentTypes.giftCard.transactionSources[n].transactionSource Copied to clipboard Enumeration ALWAYS PROVIDED

The list of valid transaction sources for this order based on the values supplied in the request parameters.

For example, INTERNET, MOTO.

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

CALL_CENTRE

Transaction conducted via a call centre.

CARD_PRESENT

Transaction where the card is presented to the merchant.

INTERNET

Transaction conducted over the Internet.

MAIL_ORDER

Transaction received by mail.

MOTO

Transaction received by mail or telephone.

TELEPHONE_ORDER

Transaction received by telephone.

VOICE_RESPONSE

Transaction conducted by a voice/DTMF recognition system.

paymentTypes.giropay Copied to clipboard

Details about supported giropay browser payment options.

paymentTypes.giropay.currencies[n] Copied to clipboard

Information on the currencies supported for this order.

paymentTypes.giropay.currencies[n].currency Copied to clipboard Upper case alphabetic text

The list of valid currencies (expressed using ISO 4217 alpha code) for this order based on the values supplied in the request parameters.

For example, AUD stands for Australian Dollar.

Data must consist of the characters A-Z

Min length: 3 Max length: 3
paymentTypes.giropay.transactionSources[n] Copied to clipboard

Information on the supported sources through which the order can be received.

paymentTypes.giropay.transactionSources[n].transactionSource Copied to clipboard Enumeration ALWAYS PROVIDED

The list of valid transaction sources for this order based on the values supplied in the request parameters.

For example, INTERNET, MOTO.

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

CALL_CENTRE

Transaction conducted via a call centre.

CARD_PRESENT

Transaction where the card is presented to the merchant.

INTERNET

Transaction conducted over the Internet.

MAIL_ORDER

Transaction received by mail.

MOTO

Transaction received by mail or telephone.

TELEPHONE_ORDER

Transaction received by telephone.

VOICE_RESPONSE

Transaction conducted by a voice/DTMF recognition system.

paymentTypes.paypal Copied to clipboard

Details about supported PayPal payment options.

paymentTypes.paypal.currencies[n] Copied to clipboard

Information on the currencies supported for this order.

paymentTypes.paypal.currencies[n].currency Copied to clipboard Upper case alphabetic text

The list of valid currencies (expressed using ISO 4217 alpha code) for this order based on the values supplied in the request parameters.

For example, AUD stands for Australian Dollar.

Data must consist of the characters A-Z

Min length: 3 Max length: 3
paymentTypes.paypal.transactionSources[n] Copied to clipboard

Information on the supported sources through which the order can be received.

paymentTypes.paypal.transactionSources[n].transactionSource Copied to clipboard Enumeration ALWAYS PROVIDED

The list of valid transaction sources for this order based on the values supplied in the request parameters.

For example, INTERNET, MOTO.

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

CALL_CENTRE

Transaction conducted via a call centre.

CARD_PRESENT

Transaction where the card is presented to the merchant.

INTERNET

Transaction conducted over the Internet.

MAIL_ORDER

Transaction received by mail.

MOTO

Transaction received by mail or telephone.

TELEPHONE_ORDER

Transaction received by telephone.

VOICE_RESPONSE

Transaction conducted by a voice/DTMF recognition system.

paymentTypes.sofort Copied to clipboard

Details about supported Sofortbanking browser payment options.

paymentTypes.sofort.currencies[n] Copied to clipboard

Information on the currencies supported for this order.

paymentTypes.sofort.currencies[n].currency Copied to clipboard Upper case alphabetic text

The list of valid currencies (expressed using ISO 4217 alpha code) for this order based on the values supplied in the request parameters.

For example, AUD stands for Australian Dollar.

Data must consist of the characters A-Z

Min length: 3 Max length: 3
paymentTypes.sofort.transactionSources[n] Copied to clipboard

Information on the supported sources through which the order can be received.

paymentTypes.sofort.transactionSources[n].transactionSource Copied to clipboard Enumeration ALWAYS PROVIDED

The list of valid transaction sources for this order based on the values supplied in the request parameters.

For example, INTERNET, MOTO.

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

CALL_CENTRE

Transaction conducted via a call centre.

CARD_PRESENT

Transaction where the card is presented to the merchant.

INTERNET

Transaction conducted over the Internet.

MAIL_ORDER

Transaction received by mail.

MOTO

Transaction received by mail or telephone.

TELEPHONE_ORDER

Transaction received by telephone.

VOICE_RESPONSE

Transaction conducted by a voice/DTMF recognition system.

paymentTypes.unionpay Copied to clipboard

Details about supported UnionPay SecurePay payment options.

paymentTypes.unionpay.currencies[n] Copied to clipboard

Information on the currencies supported for this order.

paymentTypes.unionpay.currencies[n].currency Copied to clipboard Upper case alphabetic text

The list of valid currencies (expressed using ISO 4217 alpha code) for this order based on the values supplied in the request parameters.

For example, AUD stands for Australian Dollar.

Data must consist of the characters A-Z

Min length: 3 Max length: 3
paymentTypes.unionpay.transactionSources[n] Copied to clipboard

Information on the supported sources through which the order can be received.

paymentTypes.unionpay.transactionSources[n].transactionSource Copied to clipboard Enumeration ALWAYS PROVIDED

The list of valid transaction sources for this order based on the values supplied in the request parameters.

For example, INTERNET, MOTO.

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

CALL_CENTRE

Transaction conducted via a call centre.

CARD_PRESENT

Transaction where the card is presented to the merchant.

INTERNET

Transaction conducted over the Internet.

MAIL_ORDER

Transaction received by mail.

MOTO

Transaction received by mail or telephone.

TELEPHONE_ORDER

Transaction received by telephone.

VOICE_RESPONSE

Transaction conducted by a voice/DTMF recognition system.

result Copied to clipboard Enumeration ALWAYS PROVIDED

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

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

FAILURE

The operation was declined or rejected by the gateway, acquirer or issuer

PENDING

The operation is currently in progress or pending processing

SUCCESS

The operation was successfully processed

UNKNOWN

The result of the operation is unknown

transactionMode Copied to clipboard Enumeration ALWAYS PROVIDED

Defines the merchants transaction mode, i.e. if the funds are immediately requested to be moved from the payer's account or the payment is authorized only and the funds will be moved/captured later.

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

AUTHORIZE_CAPTURE

The payment is authorized only (AUTHORIZATION transaction). The merchant must submit a Capture request to move the funds from the payer's account to the merchant's account.

PURCHASE

The payment happens immediately (PURCHASE transaction). The funds are immediately moved from the payer's account to the merchant's account.

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.