@bigcommerce/checkout-sdk / AmazonPayV2ButtonParams
-
↳
AmazonPayV2ButtonParams
- buttonColor
- checkoutLanguage
- createCheckoutSession
- ledgerCurrency
- merchantId
- placement
- productType
- sandbox
• Optional buttonColor: Gold | LightGray | DarkGray
Color of the Amazon Pay button.
AmazonPayV2ButtonConfig.buttonColor
• Optional checkoutLanguage: en_US | en_GB | de_DE | fr_FR | it_IT | es_ES | ja_JP
Language used to render the button and text on Amazon Pay hosted pages.
AmazonPayV2ButtonConfig.checkoutLanguage
• createCheckoutSession: AmazonPayV2CheckoutSession
Configuration for calling the endpoint to Create Checkout Session.
• ledgerCurrency: AmazonPayV2LedgerCurrency
Ledger currency provided during registration for the given merchant identifier.
AmazonPayV2ButtonConfig.ledgerCurrency
• merchantId: string
Amazon Pay merchant account identifier.
AmazonPayV2ButtonConfig.merchantId
• placement: AmazonPayV2Placement
Placement of the Amazon Pay button on your website.
AmazonPayV2ButtonConfig.placement
• Optional productType: PayAndShip | PayOnly
Product type selected for checkout. Default is 'PayAndShip'.
AmazonPayV2ButtonConfig.productType
• Optional sandbox: boolean
Sets button to Sandbox environment. You do not have to set this parameter
if your publicKeyId has an environment prefix. Default is false.