Apps

Set one operation's per-app fee (stacks on the global fee)

PUT
/apps/{id}/fees/{operation}

Authorization

cookieAuth
pid_access<token>

JWT access token set by /auth/google/callback or /auth/refresh

In: cookie

Path Parameters

id*string
Formatuuid
operation*string

Value in

  • "topup"
  • "transaction"
  • "withdraw"

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X PUT "https://example.com/apps/497f6eca-6276-4993-bfeb-53cbbbba6f08/fees/topup" \  -H "Content-Type: application/json" \  -d '{    "percentBps": 0,    "minIdr": "string",    "maxIdr": "string",    "enabled": true  }'
{}