Paidnice Organisation API
The Organisation API from Paidnice — 2 operation(s) for organisation.
The Organisation API from Paidnice — 2 operation(s) for organisation.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/paidnice-com:paidnice-com-organisation-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Paidnice Public Organisation API
version: 1.0.0
description: 'The public REST API for Paidnice. All endpoints require an API key passed as a bearer token in the Authorization header.
For full rate limit behavior and best practices, see the Rate Limiting Guide.'
servers:
- url: https://rest.paidnice.com/rest/v1
security:
- bearerAuth: []
tags:
- name: Organisation
paths:
/organisation:
get:
operationId: get_organisation
summary: Get organisation
description: Returns the organisation's name, its connected accounting system (Xero or QuickBooks Online) and whether that connection is live. Use it to confirm which business the data belongs to. Read only.
tags:
- Organisation
responses:
'200':
description: The organisation
headers:
X-RateLimit-Limit:
description: Maximum number of requests allowed in the current window
schema:
type: string
X-RateLimit-Remaining:
description: Number of requests remaining in the current window
schema:
type: string
X-RateLimit-Reset:
description: Unix epoch seconds by which the rolling window will have freed up capacity
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/Organisation'
'400':
description: Invalid request
headers:
X-RateLimit-Limit:
description: Maximum number of requests allowed in the current window
schema:
type: string
X-RateLimit-Remaining:
description: Number of requests remaining in the current window
schema:
type: string
X-RateLimit-Reset:
description: Unix epoch seconds by which the rolling window will have freed up capacity
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: Missing or invalid API key
headers:
X-RateLimit-Limit:
description: Maximum number of requests allowed in the current window
schema:
type: string
X-RateLimit-Remaining:
description: Number of requests remaining in the current window
schema:
type: string
X-RateLimit-Reset:
description: Unix epoch seconds by which the rolling window will have freed up capacity
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'403':
description: The public API is not enabled for the organisation, or the API key lacks the required scope
headers:
X-RateLimit-Limit:
description: Maximum number of requests allowed in the current window
schema:
type: string
X-RateLimit-Remaining:
description: Number of requests remaining in the current window
schema:
type: string
X-RateLimit-Reset:
description: Unix epoch seconds by which the rolling window will have freed up capacity
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: The organisation could not be found
headers:
X-RateLimit-Limit:
description: Maximum number of requests allowed in the current window
schema:
type: string
X-RateLimit-Remaining:
description: Number of requests remaining in the current window
schema:
type: string
X-RateLimit-Reset:
description: Unix epoch seconds by which the rolling window will have freed up capacity
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'429':
description: Too many requests
headers:
X-RateLimit-Limit:
description: Maximum number of requests allowed in the current window
schema:
type: string
X-RateLimit-Remaining:
description: Number of requests remaining in the current window
schema:
type: string
X-RateLimit-Reset:
description: Unix epoch seconds by which the rolling window will have freed up capacity
schema:
type: string
Retry-After:
description: Seconds until another request is allowed
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
/organisation/summary:
get:
operationId: get_organisation_summary
summary: Get organisation summary
description: 'Returns receivables totals for the organisation: amount outstanding, amount overdue, unpaid and overdue invoice counts and the number of active contacts. Totals are in the organisation''s base currency. Use it for a quick overview before drilling into invoices or contacts. Read only.'
tags:
- Organisation
responses:
'200':
description: The organisation summary
headers:
X-RateLimit-Limit:
description: Maximum number of requests allowed in the current window
schema:
type: string
X-RateLimit-Remaining:
description: Number of requests remaining in the current window
schema:
type: string
X-RateLimit-Reset:
description: Unix epoch seconds by which the rolling window will have freed up capacity
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/OrganisationSummary'
'400':
description: Invalid request
headers:
X-RateLimit-Limit:
description: Maximum number of requests allowed in the current window
schema:
type: string
X-RateLimit-Remaining:
description: Number of requests remaining in the current window
schema:
type: string
X-RateLimit-Reset:
description: Unix epoch seconds by which the rolling window will have freed up capacity
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: Missing or invalid API key
headers:
X-RateLimit-Limit:
description: Maximum number of requests allowed in the current window
schema:
type: string
X-RateLimit-Remaining:
description: Number of requests remaining in the current window
schema:
type: string
X-RateLimit-Reset:
description: Unix epoch seconds by which the rolling window will have freed up capacity
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'403':
description: The public API is not enabled for the organisation, or the API key lacks the required scope
headers:
X-RateLimit-Limit:
description: Maximum number of requests allowed in the current window
schema:
type: string
X-RateLimit-Remaining:
description: Number of requests remaining in the current window
schema:
type: string
X-RateLimit-Reset:
description: Unix epoch seconds by which the rolling window will have freed up capacity
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: The organisation could not be found
headers:
X-RateLimit-Limit:
description: Maximum number of requests allowed in the current window
schema:
type: string
X-RateLimit-Remaining:
description: Number of requests remaining in the current window
schema:
type: string
X-RateLimit-Reset:
description: Unix epoch seconds by which the rolling window will have freed up capacity
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'429':
description: Too many requests
headers:
X-RateLimit-Limit:
description: Maximum number of requests allowed in the current window
schema:
type: string
X-RateLimit-Remaining:
description: Number of requests remaining in the current window
schema:
type: string
X-RateLimit-Reset:
description: Unix epoch seconds by which the rolling window will have freed up capacity
schema:
type: string
Retry-After:
description: Seconds until another request is allowed
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
components:
schemas:
Organisation:
type: object
properties:
id:
type: string
description: Paidnice organisation id
example: 00000000-0000-0000-0000-000000000001
legalName:
type: string
description: The organisation's legal name
example: Acme Pty Ltd
displayName:
type: string
description: The organisation's name in the accounting system, when it has one
connected:
type: boolean
description: True when the connection to the accounting system is live
accountingSystemId:
type: string
description: The organisation's id in the connected accounting system
accountingSystemType:
type: string
enum:
- XERO
- QBO
description: 'The connected accounting system: XERO or QBO (QuickBooks Online)'
required:
- id
- legalName
- connected
- accountingSystemId
- accountingSystemType
ErrorResponse:
type: object
properties:
error:
type: object
properties:
code:
type: string
example: unauthorised
message:
type: string
example: Missing or invalid API key
details:
type: array
items:
type: object
properties:
path:
type: string
message:
type: string
required:
- path
- message
required:
- code
- message
required:
- error
OrganisationSummary:
type: object
properties:
outstandingTotal:
type: number
description: Total still owed on unpaid invoices, as a decimal in the base currency
example: 12500.5
overdueTotal:
type: number
description: Total still owed on unpaid invoices past their due date, as a decimal in the base currency
example: 4200
unpaidInvoiceCount:
type: integer
description: Number of invoices with a balance still owing
example: 42
overdueInvoiceCount:
type: integer
description: Number of unpaid invoices past their due date
example: 12
contactCount:
type: integer
description: Number of active contacts. Archived contacts are not counted.
example: 310
currency:
type: string
description: The organisation's base currency (ISO 4217 code), which the totals are in
example: USD
required:
- outstandingTotal
- overdueTotal
- unpaidInvoiceCount
- overdueInvoiceCount
- contactCount
- currency
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: 'Your Paidnice API key, passed as a bearer token. Tokens carry read and/or write scopes: GET endpoints need read, all other endpoints need write.'
externalDocs:
description: Rate Limiting Guide
url: ./rate-limits.html