Splits

Splits divide a customer's payment between your business and the people you work with: the authors on your bookshop, the stylists in your salon, the hosts on your booking site. Each of them is paid their share directly.

A business is set up for one of two kinds of split. Your dashboard's Splits page shows the right view for the business you have selected, and GET /v1/splits tells you the same through the API (mode).

Per-payment splitsFixed split
How a split is setOn each payment, by youOnce, on the account, on your request
AmountsDifferent on every payment if you likeThe same share of every payment
RecipientsUp to 10 per paymentUp to 4 per account
Changing itAny timeA new request, confirmed by HL Hunt

Per-payment splits

1. Get splits switched on

HL Hunt switches splits on for your business. Until then the Splits page says so, and GET /v1/splits returns "enabled": false. Contact support to have it turned on.

2. Invite your sellers

A seller is another business with its own HL Hunt account. Invite them from the Splits page, or:

bash

curl -X POST https://api.hlhunt.org/v1/splits/sellers \
  -H "Authorization: Bearer sk_live_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{ "name": "Maya Okafor", "email": "maya@okaforstudio.com" }'

The seller gets an email, signs in to the HL Hunt account that uses that email, and accepts. If they are new to HL Hunt they sign up and get their business approved first, the same way you did. When they accept, their status becomes connected and you can pay them.

3. Name the split on each charge

bash

curl -X POST https://api.hlhunt.org/v1/charges \
  -H "Authorization: Bearer sk_live_your_api_key" \
  -H "Idempotency-Key: order-1042" \
  -H "Content-Type: application/json" \
  -d '{
    "amount": 10000,
    "currency": "USD",
    "source": "PAYMENT_METHOD_ID",
    "split": [
      { "recipient": "SELLER_ID_1", "amount": 2000 },
      { "recipient": "SELLER_ID_2", "amount": 1500 }
    ]
  }'

You choose the amounts on every charge. A $20.00 book can send its author $14.00 and a $10.00 book can send $7.00: there is no fixed rate to keep to. The usual share you can note when inviting a seller is only a reminder for you and the page's calculator.

The rules

  • The fee comes off your part. Sellers receive exactly the amount you name.
  • Exact or refused. If a seller is not connected, or the shares are more than the payment has left after the fee, the charge is refused before the card is touched.
  • Refunds divide back in the same proportions as the payment.
  • Chargebacks stay with you, the business that took the payment.
  • API card payments only. Payment links, invoices, hosted checkout and the terminal send the whole amount to you.
  • An `Idempotency-Key` is required on a split charge, so a retry can never pay a seller twice.

What a seller sees

A seller uses the same HL Hunt dashboard as any business. On their own Splits page they see the merchants that pay them, pick one, and see what it paid: the last 30 days and their share of recent payments. GET /v1/splits/merchants returns the same. A seller sees only their own share, and cannot disconnect themselves: only the merchant can.

Fixed split: one arrangement on the account

A fixed split is set on your account once and then applies to every payment, however it is taken.

1

You list the recipients, up to 4, each with a percentage, a fixed amount per payment, or both: on the Splits page, or with POST /v1/splits/fixed.

2

HL Hunt sets it up. Status: in_setup.

3

It is set on your account.

4

We confirm and email you. Status: active. From here every payment is divided.

bash

curl -X POST https://api.hlhunt.org/v1/splits/fixed \
  -H "Authorization: Bearer sk_live_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "recipients": [
      { "name": "Maya Okafor", "email": "maya@okaforstudio.com", "percent": 20 },
      { "name": "Theo Lindqvist", "email": "theo@lindqvist.fm", "fixed": 1.50 }
    ]
  }'

A change is a new request and can take a few business days; the split already on your account stays in place until the new one is confirmed. Never send bank details: we contact each recipient for their payout details.

API reference

Every endpoint, field and error is in the [Splits API reference](/docs/splits).