cURL
curl --request POST \ --url https://www.ruddr.io/api/workspace/payment-methods \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "isActive": true } '
{ "id": "d8f2a1e7-5c34-4b69-90d3-a7e6f4c01b85", "name": "Wire Transfer", "isActive": true, "createdAt": "2025-03-10T14:22:45.183Z" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The name of the payment method. Max 255 characters.
Whether the payment method is active. Defaults to true if not provided.
true
200
The unique identifier for the object.
The name of the payment method.
Whether the payment method is active.
The timestamp when the object was created.