/
Patch a fee entry
Patches a fee entry.
Important: This operation is experimental and may not be backward compatible.
Security
SecretApiKey or JWT
Filter that is based on the properties of the transaction and used to determine when to apply the fee.
Example:"type:sale,capture;result:approved"
- Mock serverhttps://www.rebilly.com/_mock/catalog/all/fees/{id}
- Sandbox serverhttps://api-sandbox.rebilly.com/organizations/{organizationId}/fees/{id}
- Live serverhttps://api.rebilly.com/organizations/{organizationId}/fees/{id}
- SecretApiKey
- JWT
- Stripe transaction fees
- Stripe US fees
- Stripe international fees
curl -i -X PATCH \
'https://www.rebilly.com/_mock/catalog/all/fees/{id}' \
-H 'Content-Type: application/json' \
-H 'REB-APIKEY: YOUR_API_KEY_HERE' \
-d '{
"type": "buy",
"name": "Stripe transaction fees",
"filter": "type:sale,capture;result:approved;gatewayAccountId:stripe",
"formula": {
"type": "fixed-fee",
"currency": "USD",
"amount": 0.3
}
}'Fee entry patched.
Filter that is based on the properties of the transaction and used to determine when to apply the fee.
Example:"type:sale,capture;result:approved"
One of:
Settlement settings. Use these settings to set up settlement accounts.
Date and time when the resource is created. This value is set automatically when the resource is created.
Date and time when the resource is updated. This value is set automatically when the resource is updated.
Response
- Stripe transaction fees
- Stripe US fees
- Stripe international fees
Stripe transaction fees.
Discount rate fees are a separate record.
{ "id": "fee_01GQT145JX3XBRJ8K812Y3GRE9", "type": "buy", "name": "Stripe transaction fees", "filter": "type:sale,capture;result:approved;gatewayAccountId:stripe", "formula": { "type": "fixed-fee", "currency": "USD", "amount": 0.3 }, "createdTime": "2021-12-15T14:15:22Z", "updatedTime": "2021-12-15T14:15:22Z", "_links": [ { … } ] }