Patch Payment Method
Partially update a payment method using JSON Patch (RFC 6902). Requires Content-Type: application/json-patch+json.
The following field can be updated via replace operations:
/metadata/displayName— a human-friendly display name (max 256 characters, or""to clear).
RBAC Capability Required: core.subscription.update
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
paymentmethod_id
Request
This endpoint expects a list of objects.
op
Operation
Allowed values:
path
Path
search
Search string for 'stringReplace' and 'numberReplace' operations.
'numberReplace' replaces with JSON number type but only when the search string matches the entire value. I.e "audio_pid" would be replaced with 50, not "50".
value
Value
Response
The updated payment method.
spec
Specification.
metadata
Metadata.
status
Status.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error