Update a Payment Method
Path parameters
The ID of the Payment Method
Headers
A valid UUID (V4) for tracing requests. Will be returned as a header. If not present or invalid, a generated UUID will be returned.
A string representing the User Agent of the end user. Recommended for compliance. Required only when the request is not coming from the end user's browser.
The IP address of the end user. Recommended for compliance.
The Operating System of the end user. Recommended for compliance.
A unique identifier for the end user's device. Recommended for compliance.
The manufacturer of the device used by the end user. Recommended for compliance.
The device model used by the end user. Recommended for compliance.
Request body
Example request
{
"data": {
"cardHolderName": "Jen Doe",
"cvv": "123",
"expirationMonth": "01",
"expirationYear": "2021",
"billingAddress": {
"line1": "360 9th St.",
"city": "San Francisco",
"state": "CA",
"postalCode": "94103",
"country": "US"
}
},
"payer": {
"id": "8f51c396-6e29-49a6-ba5a-1a31d5420158"
}
}Response
Payment Method updated successfully
Example response
{
"id": "6f0eb884-3f41-4b57-b86a-80f62dca011e",
"data": {
"last4": "4242",
"brand": "Visa",
"expirationMonth": "01",
"expirationYear": "2021",
"createdAt": "2020-11-19T01:35:53.096Z",
"billingAddress": {
"line1": "360 9th St.",
"city": "San Francisco",
"state": "CA",
"postalCode": "94103",
"country": "US"
},
"subType": "CREDIT"
},
"status": "INACTIVE",
"statusReasons": [
{
"code": "STATUS_REASON_CODE",
"message": "Some message to help resolve status issue."
}
]
}Changes
No recorded changes to this endpoint across all 1 revision of this API.