E2ECreate Fees
POST
/feesPlatform Marketplace Fee — 2%
Request body: CreateFeeDTO
Responses: 200, 400
Generated from the code contract; no hand-written description yet.
Request
Example
curl -X POST 'https://api.paycose.com/api/v1/app1/platform/wallet/fees/' \
-H 'X-Session-Token: {{session_token}}' \
-H 'X-Country: {{country}}' \
-H 'X-Test-Mode: {{x_test_mode}}' \
-d '{
"active": true,
"currency": "USD",
"description": "Platform marketplace fee — 2% of GMV routed to merchants",
"display_name": "Platform Marketplace Fee",
"fixed_amount": 0,
"percentage": 2.0,
"labels": [
"<string>"
]
}'Headers
| Name | Value | Description |
|---|---|---|
| X-Session-Token | {{session_token}} | |
| X-Country | {{country}} | |
| X-Test-Mode | {{x_test_mode}} | true=wallet_test, false=wallet_live (default). Toggle the x_test_mode collection variable to flip every applicable request. |
Body
| Name | Type | Value |
|---|---|---|
| active | boolean | true |
| currency | string | USD |
| description | string | Platform marketplace fee — 2% of GMV routed to merchants |
| display_name | string | Platform Marketplace Fee |
| fixed_amount | number | 0 |
| percentage | number | 2 |
| labels | array | [1] |
{
"active": true,
"currency": "USD",
"description": "Platform marketplace fee — 2% of GMV routed to merchants",
"display_name": "Platform Marketplace Fee",
"fixed_amount": 0,
"percentage": 2.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>"
}