Paycose Docs
E2ECreate Fees
POST/fees

Platform 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

NameValueDescription
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

NameTypeValue
activebooleantrue
currencystringUSD
descriptionstringPlatform marketplace fee — 2% of GMV routed to merchants
display_namestringPlatform Marketplace Fee
fixed_amountnumber0
percentagenumber2
labelsarray[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

NameValue
Content-Typeapplication/json

Body

{
  "object": "error",
  "code": "<string>",
  "key": "<string>",
  "i18n_key": "<string>",
  "message": "<string>",
  "request_id": "<string>"
}

On this page