This is the recommended integration pattern for the returning buyer flow where a vaulted PayPal payment method is previewed, allowing the buyer to click and edit the underlying funding instrument as needed.
Need a Vault ID or Customer ID to try this flow? Run the
Billing Agreements
example first — after approving, it displays the vaulted payment method's
customerId and vaultId.
Only one is needed below (not both).