PaymentMethodPreview: { icon: string; label: string; sublabel?: string }

Type declaration

  • icon: string

    Payment method icon as a data URI PNG string (e.g., "data:image/png;base64,..."). Suitable for rendering directly in a React Native <Image source={{ uri: icon }}> component.

  • label: string

    The Link label to render in your screen.

  • Optionalsublabel?: string

    Details about the selected Link payment method. This will typically render the display name of the payment method followed by the last four digits, e.g. Visa Credit •••• 4242.

A preview of the payment method the user selected in Link. Intended for display in the host app's checkout UI after the flow completes.