Create split rule
curl -X POST "https://api.52-28-238-205.sslip.io/v1/split-rules" \ -H "Cookie: <console session cookie>" \ -H "Content-Type: application/json" \ -d '{"recipients":[{"merchant_id":"mch_01jd2x3k4m5n6p7q8r9s0t1v2w","name":"Example","address":"string","share_bps":1,"seller":true,"platform":true}]}'Creates the active split rule for one stablecoin service, or for every listed service with apply_to_all; shares must add up to 10000 bps and every recipient needs an address on the service network. Console session or API key with connect:manage.
https://api.52-28-238-205.sslip.ioAuthorization
sessionCookie: <console session cookie>apiKeyAuthorization: Bearer sk_test_...
Body
application/json · required. Fields are listed under Request body below.
operator, merchant_owner. The caller must hold this permission, or the call is refused with 403.uapg_session<token>Console session cookie (HttpOnly, SameSite=Lax)
application/json- body
service_id?|Catalog service id (svc_...).
recipients*array<>1 <= items <= 20apply_to_all?Apply To AllCreate the rule for every stablecoin service the platform lists instead of one service.
falseSuccess.
application/json- response
rule*rules?array<>|nullcount?integer|nullskipped?array<>|nullapply_to_all?|Create the rule for every stablecoin service the platform lists instead of one service.
[key: string]?anyGETList split rules
Lists the split rules the caller's platform or merchant owns. Console session or API key with connect:manage.
GETList payouts
Lists payouts made under split rules, visible to platform operators and the merchants paid. Console session or API key with payment:read, plus connect:manage or a merchant account.