Skip to main content
PATCH
/
payment-methods
/
{id}
Update a payment method
curl --request PATCH \
  --url https://www.ruddr.io/api/workspace/payment-methods/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "isActive": true
}
'
{
  "id": "a1b2c3d4-e5f6-4789-a012-b3c4d5e6f7a8",
  "name": "Wire Transfer",
  "isActive": true,
  "createdAt": "2025-03-10T14:22:45.183Z"
}
A method of payment that can be assigned to payments (for example, Check, Wire, or ACH).

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

The payment method uuid

Body

application/json
name
string

The name of the payment method.

isActive
boolean

Whether the payment method is active.

Response

200

id
string

The unique identifier for the object.

name
string

The name of the payment method.

isActive
boolean

Whether the payment method is active.

createdAt
string<date-time>

The timestamp when the object was created.