The Manifest payment method form comes with a default style and verbiage. See below to customize the form to match your platform’s use case and brand. Keep in mind that there’s limited space for custom text and that Manifest enforces some basic text color contrast thresholds to ensure readability and accessibility.


Customizing the Form

// construct your options
const options = { font: "Poppins", backgroundColor: '#EAEAEA' };

// encode the options
const stringified = JSON.stringify(options);
const encoded = Buffer.from(stringified).toString('base64');

// append them to the payment method embed URL
iframe.src = `${buyer.payment_method_embed_url}?options=${encoded}`;

Parameters

font
string

Font family that overrides the default for the headline, labels, and button. Options are Poppins, sans-serif, serif, monospace. Need a different font? Let us know.

headlineText
string

Text for the headline of the form. This will override the default conditional display of either Set your payment method. or Update your payment method.

submitButtonText
string

Text for the submit button. This will override the default conditional display of either Save or Update

backgroundColor
string
default: "#FFFFFF"

Background color for the form.

textColor
string
default: "#272D36"

Color for the headline.

secondaryTextColor
string
default: "#657C9D"

Color for the labels.

errorColor
string
default: "#D7625E"

Color for error messages.

buttonColor
string
default: "#080808"

Background color for the submit button.

buttonLabelColor
string
default: "#FFFFFF"

Color for the submit button text.

buttonBorderRadius
string
default: "6px"

Border radius for the submit button.

fieldBackgroundColor
string
default: "#F9F9F9"

Background color for the input fields.

fieldBottomBorderColor
string
default: "#DEE3EB"

Bottom border color for the input fields.

fieldBorderRadius
string
default: "0px"

Border radius for the input fields.

fieldTextColor
string
default: "#080808"

Color for the input field text.

loaderColor
string
default: "#DEE3EB"

Color for the loader.