ReferenceApi
Create or update local/admin fee schedule
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
name*string
status?string
buyerOrganizationId?string
sellerOrganizationId?string
planTier?string
settlementMode?string
chain?string
asset?string
feePayer?string
feeRecipient?string
percentageBps?integer
flatAmount?string
minimumFeeAmount?string
maximumFeeAmount?string
includedMonthlyVolume?integer
effectiveUntil?string
metadata?
feeScheduleId?string
effectiveFrom?string
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/v1/billing/fee-schedules" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }'{ "feeScheduleId": "string", "name": "string", "status": "active", "buyerOrganizationId": "string", "sellerOrganizationId": "string", "planTier": "developer", "settlementMode": "offchainAuthorized", "chain": "string", "asset": "string", "feePayer": "buyer", "feeRecipient": "string", "percentageBps": 0, "flatAmount": "0", "minimumFeeAmount": "string", "maximumFeeAmount": "string", "includedMonthlyVolume": 0, "effectiveFrom": "string", "effectiveUntil": "string", "metadata": {}, "createdAt": "string", "updatedAt": "string"}{ "type": "about:blank", "title": "string", "status": 0, "detail": "string", "instance": "string", "requestId": "string", "code": "string", "errors": [ { "detail": "string", "pointer": "string" } ]}{ "type": "about:blank", "title": "string", "status": 0, "detail": "string", "instance": "string", "requestId": "string", "code": "string"}{ "type": "about:blank", "title": "string", "status": 0, "detail": "string", "instance": "string", "requestId": "string", "code": "string"}{ "type": "about:blank", "title": "string", "status": 0, "detail": "string", "instance": "string", "requestId": "string", "code": "string"}{ "type": "about:blank", "title": "string", "status": 0, "detail": "string", "instance": "string", "requestId": "string", "code": "string"}{ "type": "about:blank", "title": "string", "status": 0, "detail": "string", "instance": "string", "requestId": "string", "code": "string"}