Get payment options

Get information about store payment options: settings, availability, titles, etc. The same content is provided in Get store profile -> Payment -> paymentOptions

Headers

NameTypeDescription
AuthorizationstringoAuth token with mandatory Bearer before it. Example: Bearer e***s0, where e***s0 should be replaced with your oAuth token.

Response

A JSON array with elements of type 'PaymentOptionInfo' with the following fields:

PaymentOptionInfo

FieldTypeDescription
idstringPayment method ID in a store
enabledbooleantrue if payment method is enabled and shown in storefront, false otherwise
configuredbooleanContains the payment method setup status. Read-only for in-built payment methods (where "appClientId": ""). Can be set for payment applications and will affect the payment method list in a store dashboard, see https://ecwid.d.pr/i/FpeCIb.
checkoutTitlestringPayment method title at checkout
checkoutTitleTranslated<Translations>Available translations for payment option title.
checkoutDescriptionstringPayment method description at checkout (subtitle)
paymentProcessorIdstringPayment processor ID in Ecwid
paymentProcessorTitlestringPayment processor title. The same as paymentModule in order details in REST API
orderBynumberPayment method position at checkout and in Ecwid Control Panel. The smaller the number, the higher the position is
appClientId'string'client_id value of payment application. "" if not an application
paymentSurcharges<PaymentSurcharges>Payment method fee added to the order as a set amount or as a percentage of the order total
instructionsForCustomer<InstructionsForCustomerInfo>Customer instructions details
shippingSettings<ShippingSettingsInfo>Shipping settings of the payment option

PaymentSurcharges

FieldTypeDescription
typestringSupported values: ABSOLUTE, PERCENT
valuenumberSurcharge value

InstructionsForCustomerInfo

FieldTypeDescription
instructionsTitlestringPayment instructions title
instructionsstringPayment instructions content. Can contain HTML tags
instructionsTranslated<Translations>Available translations for instructions.

ShippingSettings

FieldTypeDescription
enabledShippingMethodsArray of stringContains IDs of shipping methods, if payment method is available for certain shipping methods only ("Payment Per Shipping" feature)

Translations

FieldTypeDescription
<ISO_LANG_CODE>stringTranslations for each available language. If no other translations are provided, the default language translations is returned. See available languages in store language settings
Language
Click Try It! to start a request and see the response here!