Customizing the retail iframe

To customize the retail/MOTO iframe, include a settings object as a query parameter in your request to https://retail.nexiopaysandbox.com.
You can include settings with or without a Simple Login key.

See the examples below:

https://retail.nexiopaysandbox.com/?settings={%22uiOptions%22:{%22saveCard%22:true} }
https://retail.nexiopaysandbox.com/?simpleLogin={key}&settings={%22processingOptions%22:{%22amountDefault%22:"20"} }

Customization options

The following table shows the accepted parameters for the uiOptions object to use for customizing your retail iframe.

NameDescription
amountSetPrepopulates the amount field. User will not be able to change it
amountDefaultPrepopulates the amount field. User will be able to change it
amountMaxThe maximum amount the user may enter into the amount field
hideAuthOnlyHides or display the Auth Only Checkbox (default: true)
hideBillingHides or displays all billing fields (default: false)
limitCountriesToIf this array is nonempty, the Country Dropdown field will be limited to the countries on the list.
Note: These must be the two-character (Alpha-2) ISO country codes
merchantIdDefaultPrepopulates the merchant dropdown. User will be able to change it
merchantIdSetPrepopulates the merchant dropdown. User will not be able to change it