Skip to main content
Base Pay can request email, name, phone number, physical address, or onchain address in the approval flow. A callback validates required fields before the transaction is submitted.

Demo

1

Request the information

checkout.ts
2

Validate it on your server

api/validate-payer.ts
Treat payer information as sensitive personal data. Request only fields you need, validate the callback origin and payload, define retention limits, and never use optional data as proof of payment.

See also