v1

latestOpenAPI 3.0.1Apache 2.02026-07-2647148658.0 KB
Theming

Preview Theme

post/v2/theme/preview

Request body

namestring
theme_idstring

Parameter that was created within the create theme API call that applies the customizations upon the checkout interface. Read <a target="_blank" href="https://docs.verifone.com/online-payments/checkout/theming">Theming</a> for details.

logostring

Uploaded image id

base_font_family'Roboto' | 'Open Sans' | 'Lato' | 'Slabo' | 'Oswald' | 'Source Sans Pro' | 'Montserrat' | 'Raleway' | 'PT Sans' | 'Lora' | 'Noto Sans' | 'Noto Serif' | 'Nunito Sans' | 'Concert One' | 'Prompt' | 'Work Sans'

base fonts available for theme

text_colorstring

6 digit hex code, e.g. <code>ffe0e0</code>

heading_colorstring

6 digit hex code, e.g. <code>ffe0e0</code>

background_colorstring

6 digit hex code, e.g. <code>ffe0e0</code>

panel_background_colorstring

6 digit hex code, e.g. <code>ffe0e0</code>

primary_colorstring

6 digit hex code, e.g. <code>ffe0e0</code>

primary_color_inversestring

6 digit hex code, e.g. <code>ffe0e0</code>

primary_color_disabledstring

6 digit hex code, e.g. <code>ffe0e0</code>

primary_color_inverse_disabledstring

6 digit hex code, e.g. <code>ffe0e0</code>

error_colorstring

6 digit hex code, e.g. <code>ffe0e0</code>

error_color_inversestring

6 digit hex code, e.g. <code>ffe0e0</code>

input_border_radiusnumber
input_border_widthnumber
hide_verifone_sealboolean

Show/Hide verifone seal on the checkout page

Response

Successful

imagestring required

Previewed image converted to base64 (image type is .png)