Address
Address: Delete
- Node
gateway.address.delete("theCustomerId", "theAddressId", (err) => {
});
Note
When an address is deleted from a customer, it is also removed from any Vault payment methods that
reference the address for billing or shipping.
notFoundError
.
Arguments
addressId
required, StringThe two-letter value for an address associated with a specific customer ID. The maximum number of addresses per customer is 50.
customerId
required, StringA string value representing an existing customer in your Vault.
When true, the address will not be deleted if it is the billing address for a payment instrument.