The
/payment-setting/{id}
endpoint allows updating details of a specific payment setting.
Method:PUT
Path Parameter:
Parameter | Type | Description |
---|---|---|
id | string | The unique identifier of the payment setting |
Authentication
This endpoint requires authentication. Include your bearer token in the Authorization header.Path Parameters
Parameter | Type | In | Required | Description |
---|---|---|---|---|
id | string | path | ā | Payment Setting ID |
Request Body
Request Schema
Field | Type | Required | Description |
---|---|---|---|
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 |
Responses
ā 200 - Success
ā ļø 401 - Unauthorized
ā ļø 404 - Not Found
ā 500 - Internal Server Error
Tags
Payment Settings
Authorizations
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Path Parameters
Payment Setting ID
Body
application/json