1
Install the Base Account SDK
2
Import and call the pay() function
PaymentComponent.tsx
Collecting user info at checkoutWith Base Pay, you can request email, phone, or shipping address by passing a
payerInfo object. See the Accept Payments Guide for details.However, this is not supported in Mini Apps yet.If you intend on using Base Pay, make sure to follow the Brand Guidelines or use the
BasePayButton component whenever possible to ensure consistency across all applications.3
Add the Base Pay Button
Use the pre-built component for a native look-and-feel:
PaymentComponent.tsx