Create a split
Create a revenue split for your store. The split applies either to your whole store (type: store) or to a single product (type: product). Recipients are existing stores (added directly) or email invitees; a split created with any email invitee starts disabled and activates once the first invitee accepts. The split is always created for the store the API key belongs to.
Authorizations
API key for authentication. You can find your API key in the Creem dashboard under Settings > API Keys.
Body
Split creation payload
What the split applies to: store (every payment to your store) or product (payments for one product).
store, product "store"
The id of the entity the split applies to: your store id when type is store, or the product id when type is product.
"prod_1a2b3c4d"
The recipients of the split and their percentage shares. Between 1 and 10 recipients; shares must sum to at most 100.
An optional human-readable description of the split.
"Q3 revenue share"
Response
Successfully created the split
Unique identifier for the object.
String representing the environment.
test, prod, sandbox String representing the object's type. Objects of the same type share the same value.
"split"
The id of the store that owns this split.
"store_1a2b3c4d"
What the split applies to: store (every payment to the store) or product (payments for a specific product).
store, product "store"
The id of the entity the split applies to: the store id when type is store, or the product id when type is product.
"prod_1a2b3c4d"
Whether the split is active. A split created with email invitees starts disabled and activates once the first invitee accepts.
true
The recipients of the split and their shares.
Creation date of the split as a timestamp.
1735689600000
A human-readable description of the split.
"Q3 revenue share"