Browse documentation

On this page

Partner APIAPI contract v1.1.0

Partner API overview

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 APIApp Connect
Built forA platform that onboards many customers from its backendAn integration for one company, or an app a user authorises
CredentialPartner credential (private_key_jwt or client_secret_ip), issued under an agreementApp Connect client ID and secret, or OAuth authorisation
Who creates the companyYou, through POST /v1/partner/companiesThe customer already has one
Company accessA session you mint for one user in one company you ownA token for the company that created or authorised the client
Accounting API accessYes, limited by the session's permissionsYes, limited by granted permissions or scopes
Sandbox self-signupNoYes

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.

GuideWhat it covers
Your first accounting entryPartner token → company → session → chart of accounts → journal → verification
Sales, fees and settlementsGross sale → fee → settlement, without double-counting revenue
Retail and F&B point of saleDaily close → sales tax → cash, card and e-wallet tenders → banking
Merchant financingGross sale and fee → loan disbursement → repayments deducted from settlements

How it fits together

Text
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
StepCalls
1. AuthenticatePOST /v1/partner/token
2. ProvisionPOST /v1/partner/companies, POST /v1/partner/companies/{company_id}/users
3. Act as a userPOST /v1/partner/companies/{company_id}/sessions, then the Public API
4. OperateGET /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_id and external_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.
Evaluate Paprel

Build in sandbox, launch with a production trial

Use sandbox for developer testing with no billing. When you are ready for real workflows, start production on a monthly plan with a 14-day free trial.

API-First Delivery
Audit-Ready Controls
Sandbox And Guided Rollout
We use cookies to improve your experience.

We use cookies and local storage for essential settings and, with your choices, analytics and advertising. Online identifiers and activity can be personal data. You can reject optional categories or change your choices.

These cookies are necessary for the basic functionality of the website, ensuring a seamless user experience. They cannot be disabled.