extensions / Commerce extension
POST
/api/projects/{project_id}/sales/payment-services/{service_id}/platform-feesUpdate Payment Service Platform Fees
Updates the platform fee configuration for a project payment service.
POST
Authentication
- Requirement
- Required
- Credential type
- Bearer API key
- Scopes
- Not specified
Permissions
- Requests are scoped to the target project_id. API-key requests must use a key with an active connection to that project.
Headers
| Name | Required | Type | Details |
|---|---|---|---|
Authorization | Yes | Not specified | Description: Bearer credential used to authenticate the request. |
Path Parameters
| Name | Required | Type | Details |
|---|---|---|---|
project_id | Yes | Not specified | Description: Target project identifier. |
service_id | Yes | Not specified | Description: Identifier for service. |
Query Parameters
Request Body
Schema: PaymentFeeRequest
| Field | Required | Type | Details |
|---|---|---|---|
platform_fee_percent | No | number | Description: Numeric value. |
platform_fee_fixed | No | number | Description: Numeric value. |
Response Body
Example 200 response
json
{
"ok": "string"
}Errors
500 internal_server_errorAvailability
- Available in
- v0.1.0
- Available since
- v0.1.0
- Implementation
- Available
- Deprecation
- Not specified
- Rate limits
- Not specified

