Update a payment method
Updates billing information for an existing payment method. At least one billing field must be provided. Card details cannot be updated.
Authorizations
API key for authentication (required)
Merchant ID for identifying the merchant (required)
Path Parameters
Payment method ID
"123e4567-e89b-12d3-a456-426614174000"
Body
At least one billing field must be provided for update
Billing first name
"John"
Billing last name
"Doe"
Billing phone number
"+525512345678"
Billing email address
"john.doe@example.com"
Billing address line 1
"123 Main St"
Billing address line 2
"Apt 4B"
Billing city
"Mexico City"
Billing state
"CDMX"
Billing postal code
"12345"
Billing country code (2 characters)
2"MX"
Response
Payment method updated successfully
Payment method ID
"123e4567-e89b-12d3-a456-426614174000"
Payment method type
"CARD"
Whether this is the default payment method
false
Creation timestamp
"2025-01-15T10:00:00.000Z"
Last update timestamp
"2025-01-15T10:00:00.000Z"
Payment method nickname
"My Visa Card"
Billing first name
"John"
Billing last name
"Doe"
Billing phone number
"+525512345678"
Billing email address
"john.doe@example.com"
Billing address line 1
"123 Main St"
Billing address line 2
"Apt 4B"
Billing city
"Mexico City"
Billing state
"CDMX"
Billing postal code
"12345"
Billing country code
"MX"