Skip to main content
PUT
Update Payment Setting
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Description

Update Payment Setting Description:
The /payment-setting/{id} endpoint allows updating details of a specific payment setting.
Authorization:
  • Required role: user or higher
Method:
PUT
Path Parameter: Body Parameter:

Code Examples

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Path Parameters

id
string
required

Payment Setting ID

Body

application/json
name
string

The name of the payment setting

type
string

The type of the payment setting

settings
object

The settings/configuration of the payment setting

isDefault
boolean

Whether this is the default payment setting

memo
string

Additional notes or comments

Response

Success

message
string
paymentSetting
object