Paidnice Action API

The Action API from Paidnice — 1 operation(s) for action.

GitHub OpenAPI

Operations 1

GET /actions List actions #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/paidnice-com:paidnice-com-action-api"
All apis
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.

Get an API 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 Specification

paidnice-com-action-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Paidnice Public Action 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: Action
paths:
  /actions:
    get:
      operationId: list_actions
      summary: List actions
      description: Returns what Paidnice has scheduled, sent, skipped or failed (reminders, late fees, statements, SMS, escalations and so on), newest first. Each action has its status, run dates, any notes or error, and the policies that created it. Filter by contact, invoice, status or type. Read only.
      tags:
      - Action
      parameters:
      - schema:
          type: integer
          minimum: 1
          maximum: 100
          default: 10
          description: How many records to return on this page. Pass nextCursor from the response as cursor to get the next page.
          example: 10
        required: false
        description: How many records to return on this page. Pass nextCursor from the response as cursor to get the next page.
        name: limit
        in: query
      - schema:
          type: string
          description: Opaque cursor from a previous response's nextCursor. Omit to start from the most recent record.
        required: false
        description: Opaque cursor from a previous response's nextCursor. Omit to start from the most recent record.
        name: cursor
        in: query
      - schema:
          type:
          - integer
          - 'null'
          description: Only actions for this contact. Paidnice contact id, from list_contacts
          example: 123
        required: false
        description: Only actions for this contact. Paidnice contact id, from list_contacts
        name: contactId
        in: query
      - schema:
          type: string
          format: uuid
          description: Only actions for this invoice, including statements and statement late fees that included it. Paidnice invoice id, from list_invoices
          example: 00000000-0000-0000-0000-000000000123
        required: false
        description: Only actions for this invoice, including statements and statement late fees that included it. Paidnice invoice id, from list_invoices
        name: invoiceId
        in: query
      - schema:
          type: string
          enum:
          - pending
          - complete
          - failed
          - suspended
          - reverted
          - approval_pending
          - skipped
          description: 'pending: waiting for its run date. complete: done. failed: errored, see errorMessage. suspended and approval_pending: waiting for a user. skipped: skipped by a user. reverted: a late fee that was later reversed.'
        required: false
        description: 'pending: waiting for its run date. complete: done. failed: errored, see errorMessage. suspended and approval_pending: waiting for a user. skipped: skipped by a user. reverted: a late fee that was later reversed.'
        name: status
        in: query
      - schema:
          type: string
          enum:
          - late_fee
          - late_fee_email
          - reminder
          - discount_apply
          - discount_remove
          - discount_applied_email
          - discount_removed_email
          - send_sms
          - issue_statement_late_fee
          - send_statement
          - escalation
          - send_statement_interest_email
          - send_announcement_email
          - quote_email
          - payment_plan_reminder
          - on_demand
          description: Only actions of this type, for example reminder, late_fee or send_statement
        required: false
        description: Only actions of this type, for example reminder, late_fee or send_statement
        name: type
        in: query
      responses:
        '200':
          description: A page of actions
          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:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Action'
                    description: The records on this page
                  nextCursor:
                    type: string
                    description: Pass as the cursor query parameter to fetch the next page. Absent on the last page.
                required:
                - data
        '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'
        '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:
    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
    Action:
      type: object
      properties:
        id:
          type: string
          description: Action id
          example: 00000000-0000-0000-0000-000000000123
        type:
          type: string
          enum:
          - late_fee
          - late_fee_email
          - reminder
          - discount_apply
          - discount_remove
          - discount_applied_email
          - discount_removed_email
          - send_sms
          - issue_statement_late_fee
          - send_statement
          - escalation
          - send_statement_interest_email
          - send_announcement_email
          - quote_email
          - payment_plan_reminder
          - on_demand
          description: What the action does, for example reminder, late_fee, send_sms or send_statement
        status:
          type: string
          enum:
          - pending
          - complete
          - failed
          - suspended
          - reverted
          - approval_pending
          - skipped
          description: 'pending: waiting for its run date. complete: processed. failed: errored, see errorMessage. suspended and approval_pending: waiting for a user. skipped: skipped by a user. reverted: a late fee that was reverted'
        substatus:
          type:
          - string
          - 'null'
          enum:
          - deferred
          - no_interest_generated
          - no_statement_sent
          - null
          description: 'Extra detail on the status, null when there is none. deferred: processing was pushed back. no_interest_generated: a statement interest run produced no interest. no_statement_sent: a statement check ran but sent no statement'
        createdAt:
          type: string
          description: When the action was created, as an ISO 8601 datetime
          example: '2026-06-01T08:00:00.000Z'
        actionOn:
          type: string
          description: When the action is or was due to run
          example: '2026-06-16T08:00:00.000Z'
        executedAt:
          type:
          - string
          - 'null'
          description: When the action was processed, as an ISO 8601 datetime. Null if it has not been
        failedAt:
          type:
          - string
          - 'null'
          description: When the action failed, as an ISO 8601 datetime. Null if it has not failed
        deferredUntil:
          type:
          - string
          - 'null'
          description: Set while a pending action has been pushed back, for example to retry after an error
        ignored:
          type: boolean
          description: True when a user ignored a completed late fee so an identical fee can be issued again. Treat the action as not having happened
        errorCode:
          type:
          - string
          - 'null'
          description: Machine readable code for why the action failed, null when it has not failed
        errorMessage:
          type:
          - string
          - 'null'
          description: Why the action failed, often the message from the accounting system or email or SMS provider
        notes:
          type: array
          items:
            type: string
          description: Notes Paidnice recorded on the action, for example why nothing was sent
          example:
          - No overdue balance for contact, so no statement was sent
        contactId:
          type: integer
          description: Paidnice id of the contact the action is for. Use it with get_contact
          example: 123
        contactName:
          type: string
          description: Name of the contact the action is for
          example: Acme Ltd
        invoiceId:
          type:
          - string
          - 'null'
          description: Null for actions on the contact as a whole, such as statements
          example: 00000000-0000-0000-0000-000000000123
        invoiceNumber:
          type:
          - string
          - 'null'
          description: Number of the invoice the action is for, null for actions on the contact as a whole
          example: INV-0042
        policies:
          type: array
          items:
            type: object
            properties:
              id:
                type: integer
                description: Paidnice policy id
              title:
                type: string
                description: Policy name
              type:
                type: string
                enum:
                - reminder
                - fee
                - discount
                - sms
                - statement_late_fee
                - statement
                - escalation
                - contact_escalation
                - quote_email
                - payment_plan_reminder
                - on_demand_placeholder
                description: The kind of policy, for example reminder, fee, discount or sms
            required:
            - id
            - title
            - type
          description: The policies that created the action. Empty for manual actions
      required:
      - id
      - type
      - status
      - substatus
      - createdAt
      - actionOn
      - executedAt
      - failedAt
      - deferredUntil
      - ignored
      - errorCode
      - errorMessage
      - notes
      - contactId
      - contactName
      - invoiceId
      - invoiceNumber
      - policies
  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