Introduction

Authentication

Test cards

Establishments

Users

Customers

Cards

Payment links

Error codes

Payment Split

Products

Discount Coupons

Sales

Signatures

Webhooks

Financial


On this page:


POST Add commission rule

https://api.premepay.com/v1/stores/:id/split_rules

Field Description List

Parameter Description Type Required
recipientId Commissioned Store ID Integer Yes
percentage Amount in percentage to be commissioned Decimal No
fixed Fixed amount to be commissioned Decimal No
type Type of Commissioning String Yes
percentage Percentage
fixed
both
disputeLiable Defines whether the Store bears a loss in case of chargeback or not boolean Yes
refundLiable Defines whether the Store bears a loss in case of reversal or not boolean Yes

Request example

Responses

If your request has invalid creation parameters - for example, specifying an invalid field or value - you may receive an error response. Below is the complete list of possible error responses:


Related Content

<aside> <img src="https://s3-us-west-2.amazonaws.com/secure.notion-static.com/52c5ff42-e8bf-45d3-81d1-b6e05786a688/POST.png" alt="https://s3-us-west-2.amazonaws.com/secure.notion-static.com/52c5ff42-e8bf-45d3-81d1-b6e05786a688/POST.png" width="40px" /> POST - Create plan

</aside>

<aside> <img src="/icons/credit-card_red.svg" alt="/icons/credit-card_red.svg" width="40px" /> Credit Card

</aside>