Skip to main content
PATCH
Update Payment Method

Overview

Updates an existing payment method entity. This endpoint allows partial updates - you only need to provide the fields you want to change.

Endpoint

Authentication

Requires a valid API key in the Authorization header:

Path Parameters

string
required
UUID of the payment method entity to update

Request Body

object
Container for payment method data to update
array
Array of relationships to add or update
object
Additional metadata to update

Example Requests

Update Card Expiration Date

Add Fingerprint to Payment Method

Update Holder Name

Add Metadata

Response

boolean
Whether the operation was successful
string
UUID of the updated payment method entity
string
Always "payment_method"
object
The complete updated payment method data
array
Array of relationships
object
Complete metadata after update
string
ISO 8601 timestamp of this update

Response Example

Use Cases

Update Expired Card

Mark as Default Payment Method

Add Verification Status

Error Responses

404 Not Found

400 Bad Request

401 Unauthorized

Important Notes

  • This is a partial update endpoint - only fields provided will be updated
  • Other fields will remain unchanged
  • To remove a field, explicitly set it to null
  • Updates to sensitive fields (like card numbers) may be restricted
  • The updatedAt timestamp is automatically set to the current time
  • Risk scores may be recalculated after updates
  • Related transactions are not affected by payment method updates

See Also