Replace an existing fee policy for the authenticated company. The final state of the policy will match exactly what is provided in the request.
Concurrency Protection:
Rule Replacement Behavior:
Key Difference from PATCH:
To keep an existing rule, include it in the request with its ID. To remove a rule, simply omit it from the request. To add a new rule, include it without an ID.
Company API key for authentication
The ID of the fee policy to replace
Fee policy replacement request. The final state of the policy will match exactly what is provided.
Concurrency protection:
Rule handling:
Policy name (alphanumeric, underscores, hyphens only)
1 - 100^[a-zA-Z0-9_-]+$"standard-card-fees"
Whether the policy is active
true
Cashout price in cents (fixed fee for cashout operations)
x >= 0350
Complete list of rules for the policy. Rules with IDs are updated, rules without IDs are created, and existing rules not in the payload are deleted.
1Optional policy description
500"Standard fee structure for card transactions"
Fee policy replaced successfully
Fee policy response
Policy ID
"a3dbd0c2-9f79-4f86-8caa-47779b3f2793"
"standard-card-fees"
"Standard fee structure for card transactions"
true
Cashout price in cents (fixed fee for cashout operations)
350
Organization company ID
"a3dbd0c2-9f79-4f86-8caa-47779b3f2794"