We are investigating if we can pre-register the virtual cards we issue to clients with a buyers email address to receive future receipts.
Would setting buyer_email_address on an authorized payment using Payments API work?
If not, is there some way, using the api, that could associate an email address with the card without the user having to type in their email at point of purchase?
Setting buyer_email_address on a Payments API authorization isn’t a supported way to register a card for future automatic receipts. Square doesn’t offer a public API for issuer-side enrollment. There’s also no API that links an email to a card so receipts go out automatically across sellers.
If the seller collects the email at point of sale, it’s stored as a customer profile tied to that payment, at that seller only.