Fee
PATCH
/fees/{fee_id}Update Fee
Body — UpdateFeeDTO.
Request
Example
curl -X PATCH 'https://api.paycose.com/api/v1/app1/platform/wallet/fees/{{fee_id}}' \
-H 'X-Session-Token: {{session_token}}' \
-H 'X-Country: {{country}}' \
-d '{
"active": true,
"description": "",
"display_name": "",
"fixed_amount": 0,
"percentage": 0.0,
"labels": [
"<string>"
]
}'Headers
| Name | Value |
|---|---|
| X-Session-Token | {{session_token}} |
| X-Country | {{country}} |
Body
| Name | Type | Value |
|---|---|---|
| active | boolean | true |
| description | string | |
| display_name | string | |
| fixed_amount | number | 0 |
| percentage | number | 0 |
| labels | array | [1] |
{
"active": true,
"description": "",
"display_name": "",
"fixed_amount": 0,
"percentage": 0.0,
"labels": [
"<string>"
]
}Responses
400400 Bad Request
Headers
| Name | Value |
|---|---|
| Content-Type | application/json |
Body
{
"object": "error",
"code": "<string>",
"key": "<string>",
"i18n_key": "<string>",
"message": "<string>",
"request_id": "<string>"
}