Update Payment Setting
Description:
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 |
curl --request PUT \
--url https://server26-dot-royalti-project.uc.r.appspot.com/payment-setting/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"type": "<string>",
"settings": {},
"isDefault": true,
"memo": "<string>"
}'
{
"message": "Payment setting updated successfully"
}
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Payment Setting ID
Success
The response is of type object
.
curl --request PUT \
--url https://server26-dot-royalti-project.uc.r.appspot.com/payment-setting/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"type": "<string>",
"settings": {},
"isDefault": true,
"memo": "<string>"
}'
{
"message": "Payment setting updated successfully"
}