Use this method to submit and save a payment method using Card Fields.
const response = await cardFieldsInstance.submit("your-vault-setup-token", { billingAddress: { postalCode: "12345", countryCode: "US", }, }); Copy
const response = await cardFieldsInstance.submit("your-vault-setup-token", { billingAddress: { postalCode: "12345", countryCode: "US", }, });
Use this method to submit and save a payment method using Card Fields.