Update a Payment Method

Updates a specified payment method for a profile in Customer Vault. Include the complete billing record in the request.

Path Params
string
required

The customer ID, returned as the customer_id value in an 'Add a Customer' response.

Body Params

Customer

string
required

Format: Fixed length, 32 AN
Description: The card ID of the payment method you want to update.

string

Format: Fixed length, 4 N, MMYY format
Description: Expiration date of cardholder’s card number. Use this field to update the card’s expiration date.

string

Format: Variable length, up to 4 N
Description: CVV2 or CID value from the signature panel on the back of the cardholder's card. If present during a request where the verify flag is set to true, this value is sent to the issuer for validation. This field will not be stored in Vault.

string

Format: Variable length, up to 32 AN
Description: Billing first name.

string

Format: Variable length, up to 32 AN
Description: Billing last name.

string

Format: Variable length, up to 64 AN
Description: Business name on the billing card, if applicable.

billing_email
array of strings

Format: Variable length, up to 128 AN
Description: An array of billing email addresses.

billing_email
string

Format: Variable length, up to 128 AN
Description: Billing street address. This address will also be used for AVS verification if AVS verification is enabled.

string

Format: Variable length, up to 128 AN
Description: Billing address line 2.

string

Format: Variable length, up to 64 AN
Description: Billing city.

string

Format: Variable length, up to 3 AN
Description: Billing state.

string

Format: Variable length, up to 10 AN
Description: Billing zip code. This zip code will also be used for AVS verification if AVS verification is enabled.

string

Format: Fixed length, 4 N
Description: Billing zip+4 code, if applicable.

string

Format: Variable length, up to 128 AN
Description: Billing country.

string

Format: Fixed length, 3 AN
Description: ISO numeric country code for the billing address. Refer to Country Codes for a list of country codes.

boolean

Description: Set this field to true if a card_number or card_id should be verified by the issuer before adding to Customer Vault. When this field is set to true, the payment method is updated in Customer Vault regardless of whether verification succeeds.
Default: false

boolean

Description: Set this field to true if this should be the primary payment method.
Default: false

int64

Format: Variable length, up to 16 AN
Description: Identifies the merchant to whom this request applies. Optional field, applicable only if the request is sent on behalf of another merchant.
Conditional Requirement: Required if this request is on behalf of another merchant.

Responses

Language
Credentials
Basic
base64
:
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json