Update Payment Method
Update a payment method (name, active flag, or meta).
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
payment_method_id
Payment method ID
account_id
Request
This endpoint expects an object.
name
is_active
metadata
Response
Successful Response
id
account_id
customer_id
provider_type
Type of payment method.
name
is_active
metadata
Free-form metadata about the payment method. For credit cards this includes last4, brand, exp_month, exp_year, and (for VGS-vaulted cards) issuer intelligence resolved at setup time:
bin— issuer BIN, 6 or 8 digits (string; may be absent).card_attributes— VGS card attribute object (may be absent; fields within may be absent; values are UPPERCASE as returned by VGS). Includescard_type,card_segment_type,prepaid_card,virtual_card,country_name,country_numeric,regulated, and additional card details.
Read with e.g. metadata?.bin and metadata?.card_attributes?.card_type.
created_at
updated_at
used_in_subscription
network_token_status
Errors
422
Unprocessable Entity Error