- Create a pricing split
Declare your share of a dynamic pricing rule's fee. The customer bears the remainder. List the rules you may declare against with List dynamic pricing rules.
Provide price_id and exactly one of bps or fixed_amount. Declare bps against a percentage rule and fixed_amount against a fixed rule. Your share cannot exceed the rule's own total: bps cannot exceed the rule's bps, and fixed_amount cannot exceed the rule's fees_amount. Each rule is held to its own ceiling.
Amounts are in minor units (cents) and bps is basis points, so 100 is 1%. A bps of 0 is valid and means the customer bears the whole fee.
Pass the returned id in split_ids when you create a payment link, an order, a payin quote, a subscription or an auto debit. Until you pass it, the dynamic rule is never applied and pricing falls back to your normal (non-dynamic) rules.
The dynamic pricing rule to declare against, from List dynamic pricing rules. The rule must belong to your business, have a dynamic fee bearer, price payin transaction_fees, be currently effective, and be the latest effective version of the rule.
Your share of the fee in basis points, where 100 bps is 1%. Required on a percentage rule. Cannot exceed the rule's own bps. 0 is valid and means the customer bears the whole fee. Must be a whole number sent as a JSON integer: no decimal point (1.5 and 1.0 are both rejected) and not a string ("150" is rejected). A negative value returns 400.
Provide exactly one of bps or fixed_amount, not both.
Your share of the fee, in the smallest unit of the rule's fees_currency (cents for USD). 200 is $2.00 when that currency is USD. Must be a whole number sent as a JSON integer: no decimal point (1.5 and 1.0 are both rejected) and not a string ("150" is rejected). A negative value returns 400. Required on a fixed rule, and cannot exceed the rule's own fees_amount. If you also send fee_currency, it must match the rule's fees_currency. Provide exactly one of bps or fixed_amount, not both.
The floor to apply to your share, in the smallest unit of fee_currency (cents for USD). 100 is $1.00 when fee_currency is USD. Must be a whole number sent as a JSON integer: no decimal point (1.5 and 1.0 are both rejected) and not a string ("150" is rejected). A negative value returns 400. Supported only on a percentage rule, and only together with fee_currency. Must be less than or equal to max_fee.
The cap to apply to your share, in the smallest unit of fee_currency (cents for USD). 1000 is $10.00 when fee_currency is USD. Must be a whole number sent as a JSON integer: no decimal point (1.5 and 1.0 are both rejected) and not a string ("150" is rejected). A negative value returns 400. Supported only on a percentage rule, and only together with fee_currency.
- Production serverhttps://api.glomopay.com/api/v1/prices/dynamic-splits
curl -i -X POST \
https://api.glomopay.com/api/v1/prices/dynamic-splits \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"price_id": "price_5JU9yv0lGSUP",
"bps": 150
}'Pricing split created successfully
The unique identifier of the dynamic pricing rule this split was declared against. See List dynamic pricing rules.
Your share of the fee in basis points, where 100 bps is 1%. Present when the split was declared with bps and null otherwise.
Your share of the fee, in the smallest unit of fee_currency (cents for USD). 200 is $2.00 when fee_currency is USD. Present when the split was declared with fixed_amount and null otherwise.
The floor you declared for your share, in the smallest unit of fee_currency (cents for USD). 100 is $1.00 when fee_currency is USD. null when you declared no floor.
The cap you declared for your share, in the smallest unit of fee_currency (cents for USD). 1000 is $10.00 when fee_currency is USD. null when you declared no cap.
The currency of fixed_amount, min_fee and max_fee, in ISO 4217 format.
When the pricing split was created, as an ISO 8601 date-time in UTC.
{ "id": "psplit_7Kq2mXbTdLp9", "price_id": "price_5JU9yv0lGSUP", "bps": 150, "fixed_amount": null, "min_fee": 100, "max_fee": 1000, "fee_currency": "USD", "created_at": "2026-08-01T09:12:44Z", "updated_at": "2026-08-01T09:12:44Z" }