Skip to main content
PUT
Upsert Payment Method

Headers

authorization
string | null
X-API-Key
string | null
X-Stella-Merchant-Id
string | null

Path Parameters

method
string
required

Body

application/json

Body for PUT /api/dashboard/payment-methods/{method}.

The handler dispatches on method (path param) to validate the config field against the matching per-method schema above.

enabled
boolean
required
display_name
string | null
display_order
integer
default:100
config
Config · object

Response

Successful Response

Single config row in dashboard responses.

id
string<uuid>
required
merchant_id
string<uuid>
required
method
enum<string>
required
Available options:
stripe,
cod,
bank_transfer
enabled
boolean
required
display_order
integer
required
config
Config · object
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
display_name
string | null