Partner API overview
Enterprise plan only. Partner credentials are issued under a partner agreement. On the Standard plan, an organization manages its own companies through the organization API instead; the glossary compares the two.
The Partner API is for backend-integrated partners: platforms that run accounting for their own merchants or clients on Paprel. Your backend owns the relationship. It provisions a company per customer, adds that company's users, and mints short-lived sessions for them. Each session calls the ordinary Public API to create clients, invoices, journals and reports in that company.
Partner API access is issued to approved platform partners under an agreement. Ordinary sandbox signup does not issue partner credentials. You can evaluate the Public API independently in sandbox before arranging provisioning access, and run the company-per-customer pattern end to end with the self-serve multi-tenant accounting API example. If you do not have a partner credential yet, request partner access.
Partner API or App Connect?
Decide this first. It determines which credentials you request.
| Partner API | App Connect | |
|---|---|---|
| Built for | A platform that onboards many customers from its backend | An integration for one company, or an app a user authorises |
| Credential | Partner credential (private_key_jwt or client_secret_ip), issued under an agreement | App Connect client ID and secret, or OAuth authorisation |
| Who creates the company | You, through POST /v1/partner/companies | The customer already has one |
| Company access | A session you mint for one user in one company you own | A token for the company that created or authorised the client |
| Accounting API access | Yes, limited by the session's permissions | Yes, limited by granted permissions or scopes |
| Sandbox self-signup | No | Yes |
The two meet at the session: a minted session is an App Connect token, so everything you can do with the Public API you can do for a partner company. You do not need a separate App Connect client to reach accounting data for a company you provisioned. See Authentication for App Connect and API credentials.
End-to-end guides
Start with a guide if you want to see the calls working together. The pages under Build and Operate cover each contract in detail.
| Guide | What it covers |
|---|---|
| Your first accounting entry | Partner token → company → session → chart of accounts → journal → verification |
| Sales, fees and settlements | Gross sale → fee → settlement, without double-counting revenue |
| Retail and F&B point of sale | Daily close → sales tax → cash, card and e-wallet tenders → banking |
| Merchant financing | Gross sale and fee → loan disbursement → repayments deducted from settlements |
How it fits together
partner credential (your backend)
│
▼
partner token (aud=partner, 900 s)
│
├─► provision companies and users
│
▼
user session (App Connect token)
│
▼
Public API calls as that user, in that company
| Step | Calls |
|---|---|
| 1. Authenticate | POST /v1/partner/token |
| 2. Provision | POST /v1/partner/companies, POST /v1/partner/companies/{company_id}/users |
| 3. Act as a user | POST /v1/partner/companies/{company_id}/sessions, then the Public API |
| 4. Operate | GET /v1/partner/usage, GET /v1/partner/companies, GET /v1/partner/companies/{company_id}, suspend, resume, de-provision, deactivation, key rotation |
Before you start
- Keep partner credentials on your server only. They act for every company you own.
- Map your customer and user ids to Paprel's as
external_company_idandexternal_user_id. They make every provisioning call safe to retry. - Agree your limits (companies, users per company, clients per company) when partner access is set up.