Saturation Payment Requests API

Requests to pay a person or company. A request stays separate from the payment that follows.

GitHub OpenAPI

Operations 2

GET /payment-requests List payment requests #
GET /payment-requests/{paymentRequestId} Get a payment request #

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/saturation-io:saturation-io-payment-requests-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

saturation-io-payment-requests-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Saturation Payment Requests API
  version: 1.0.0
  description: 'Read and write production finance data in Saturation. Authenticate with a personal token in the `Authorization` header: `Bearer `. Create a token under Settings > Developers > API. Each token belongs to one workspace.

    Conventions:

    - Successful responses contain the requested resource. Lists contain `data` and an optional `nextCursor`. Errors contain `success`, `code`, `message`, and `requestId`.

    - Money uses integer minor units and an ISO-4217 currency, for example `{ "amount": 152900, "currency": "USD" }`. Budget totals and phase data are decimals in major units. Dates use ISO 8601.

    - Lists default to 50 items and allow up to 100. Pass `nextCursor` as `cursor` for the next page. Set `withCount=true` to include the total count.

    - `404 not_found` means the resource does not exist or is not available to the token.'
  contact:
    name: Saturation API
    url: https://docs.saturation.io
  license:
    name: Proprietary
    url: https://saturation.io/terms
servers:
- url: https://next-api.saturation.io/v1
  description: Configured environment
security:
- bearerAuth: []
tags:
- name: Payment Requests
  description: Requests to pay a person or company. A request stays separate from the payment that follows.
paths:
  /payment-requests:
    get:
      operationId: payment-requests_list
      summary: List payment requests
      description: Returns payment requests. Use `expand` to include related records.
      tags:
      - Payment Requests
      parameters:
      - $ref: '#/components/parameters/limit'
      - $ref: '#/components/parameters/cursor'
      - name: status
        in: query
        description: Only payment requests with this status.
        schema:
          $ref: '#/components/schemas/PaymentRequestStatus'
      - name: projectId
        in: query
        description: Project ID or slug. Only payment requests for this project. Slugs can change, so store the ID.
        schema:
          $ref: '#/components/schemas/Id'
      - name: purchaseOrderId
        in: query
        description: Only payment requests linked to this purchase order.
        schema:
          $ref: '#/components/schemas/Id'
      - name: contactId
        in: query
        description: Only payment requests for this contact.
        schema:
          $ref: '#/components/schemas/Id'
      - name: expand
        in: query
        schema:
          type: array
          items:
            $ref: '#/components/schemas/PaymentRequestExpand'
        style: form
        explode: false
        description: Related records to include, separated by commas.
      responses:
        '200':
          description: Payment requests.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaymentRequestList'
        '400':
          $ref: '#/components/responses/Error400'
        '401':
          $ref: '#/components/responses/Error401'
        '403':
          $ref: '#/components/responses/Error403'
        '404':
          $ref: '#/components/responses/Error404'
  /payment-requests/{paymentRequestId}:
    get:
      operationId: payment-requests_get
      summary: Get a payment request
      description: Returns a payment request. Use `expand` to include related records.
      tags:
      - Payment Requests
      parameters:
      - name: paymentRequestId
        in: path
        required: true
        schema:
          $ref: '#/components/schemas/Id'
      - name: expand
        in: query
        schema:
          type: array
          items:
            $ref: '#/components/schemas/PaymentRequestExpand'
        style: form
        explode: false
        description: Related records to include, separated by commas.
      responses:
        '200':
          description: The payment request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaymentRequest'
        '400':
          $ref: '#/components/responses/Error400'
        '401':
          $ref: '#/components/responses/Error401'
        '403':
          $ref: '#/components/responses/Error403'
        '404':
          $ref: '#/components/responses/Error404'
components:
  schemas:
    ErrorCode:
      type: string
      description: Error code for programmatic handling.
      enum:
      - unauthenticated
      - invalid_token
      - missing_authorization
      - token_revoked
      - permission_revoked
      - scope_exceeded
      - forbidden
      - feature_not_available
      - upgrade_required
      - capacity_exceeded
      - approval_required
      - resource_locked
      - temporarily_unavailable
      - role_ceiling_exceeded
      - user_token_required
      - api_access_disabled
      - not_found
      - document_target_not_found
      - validation
      - cursor_invalid
      - expand_invalid
      - invalid_date_range
      - webhook_https_required
      - range_too_large
      - account_path_ambiguous
      - account_code_ambiguous
      - budget_compute_stale
      - idempotency_conflict
      - precondition_failed
      - already_linked
      - status_unreachable_for_source
      - po_invalid_status
      - webhook_url_invalid_ssrf
      - phase_copy_unsupported
      - already_merged
      - grouped_source
      - currency_mismatch
      - project_mismatch
      - multiple_payments
      - purchase_order_mismatch
      - payment_pending
      - cash_advance_unsupported
      - accounting_unsupported
      - accounting_link_conflict
      - accounting_link_stopped
      - accounting_sync_excluded
      - accounting_period_closed
      - field_read_only
      - missing_fx
      - scenario_too_large
      - source_not_postable
      - webhook_url_blocked
      - budget_too_large
      - bulk_too_large
      - rate_limited
      - feedback_limit
      - signing_key_not_configured
      - internal_error
      - budget_compute_timeout
    PaymentDocumentLink:
      type: object
      required:
      - id
      - projectId
      - name
      - mimeType
      - status
      - size
      - classification
      additionalProperties: false
      properties:
        id:
          $ref: '#/components/schemas/Id'
        projectId:
          type:
          - string
          - 'null'
        name:
          type: string
        mimeType:
          type:
          - string
          - 'null'
        status:
          type: string
        size:
          type: integer
        classification:
          type:
          - string
          - 'null'
    ProductAccessDecision:
      type: object
      description: Explains why a product feature is unavailable and how to resolve it.
      required:
      - operationId
      - allowed
      - state
      - primary
      - remediations
      - resolvingPlanId
      additionalProperties: false
      properties:
        operationId:
          type: string
          minLength: 1
        allowed:
          type: boolean
        state:
          type: string
          enum:
          - allowed
          - warning
          - denied
          - indeterminate
        primary:
          type:
          - object
          - 'null'
          additionalProperties: false
          required:
          - kind
          - status
          - reason
          properties:
            kind:
              type: string
              enum:
              - principal
              - authority
              - policy
              - rollout
              - provider
              - entitlement
              - quota
            status:
              type: string
              enum:
              - warning
              - denied
              - indeterminate
            reason:
              type: string
              enum:
              - principal_unauthenticated
              - principal_expired
              - principal_suspended
              - resource_unreachable
              - permission_denied
              - resource_locked
              - approval_required
              - safety_restricted
              - rollout_disabled
              - delivery_unavailable
              - provider_unavailable
              - provider_ineligible
              - legal_restricted
              - plan_excluded
              - contract_restricted
              - subscription_restricted
              - quota_warning
              - quota_exhausted
              - quota_unknown
              - quota_reservation_required
              - dependency_unknown
            quotaId:
              type: string
              minLength: 1
            usage:
              type: integer
              minimum: 0
            limit:
              type: integer
              minimum: 0
        remediations:
          type: array
          items:
            type: string
            enum:
            - self_serve_upgrade
            - contact_billing_owner
            - contact_sales
            - buy_capacity
            - cleanup
            - authenticate
            - request_access
            - resolve_policy
            - wait_for_rollout
            - resolve_provider
            - recover_payment
            - reactivate_subscription
            - contact_support
            - renew_link
        currentPlanId:
          type: string
          enum:
          - free
          - pro
          - team
          - enterprise
        resolvingPlanId:
          type:
          - string
          - 'null'
          enum:
          - free
          - pro
          - team
          - enterprise
          - null
        correlationId:
          type: string
          minLength: 1
    PaymentTransactionLink:
      type: object
      required:
      - id
      - projectId
      - amount
      - description
      - status
      - timestamp
      additionalProperties: false
      properties:
        id:
          $ref: '#/components/schemas/Id'
        projectId:
          type:
          - string
          - 'null'
        amount:
          oneOf:
          - $ref: '#/components/schemas/Money'
          - type: 'null'
        description:
          type:
          - string
          - 'null'
        status:
          type: string
        timestamp:
          type:
          - string
          - 'null'
          format: date-time
    PaymentBase:
      type: object
      description: A payment and its current status.
      required:
      - id
      - workspaceId
      - projectId
      - paymentRequestId
      - purchaseOrderId
      - contactId
      - budgetLineId
      - status
      - amount
      - destinationAmount
      - rail
      - description
      - memo
      - notes
      - scheduledFor
      - expectedArrivalAt
      - destination
      - cancellationRequested
      - needsSupport
      - failureReason
      - createdAt
      - updatedAt
      additionalProperties: false
      properties:
        id:
          $ref: '#/components/schemas/Id'
        workspaceId:
          $ref: '#/components/schemas/Id'
        projectId:
          type:
          - string
          - 'null'
        paymentRequestId:
          type:
          - string
          - 'null'
        purchaseOrderId:
          type:
          - string
          - 'null'
        contactId:
          type:
          - string
          - 'null'
        budgetLineId:
          type:
          - string
          - 'null'
        status:
          $ref: '#/components/schemas/PaymentStatus'
        amount:
          $ref: '#/components/schemas/Money'
        destinationAmount:
          oneOf:
          - $ref: '#/components/schemas/Money'
          - type: 'null'
        rail:
          type:
          - string
          - 'null'
        description:
          type:
          - string
          - 'null'
        memo:
          type:
          - string
          - 'null'
        notes:
          type:
          - string
          - 'null'
        scheduledFor:
          type:
          - string
          - 'null'
          format: date-time
        expectedArrivalAt:
          type:
          - string
          - 'null'
          format: date-time
        destination:
          oneOf:
          - type: object
            required:
            - bankName
            - accountType
            - accountLast4
            - network
            additionalProperties: false
            properties:
              bankName:
                type:
                - string
                - 'null'
              accountType:
                type:
                - string
                - 'null'
              accountLast4:
                type:
                - string
                - 'null'
              network:
                type:
                - string
                - 'null'
          - type: 'null'
        cancellationRequested:
          type: boolean
        needsSupport:
          type: boolean
        failureReason:
          type:
          - string
          - 'null'
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
    PaymentRequestStatus:
      type: string
      description: Current payment-request status. `unknown` means the status is unavailable.
      enum:
      - submitted
      - pending
      - approved
      - paid
      - rejected
      - canceled
      - unknown
    PaymentPurchaseOrderLink:
      type: object
      required:
      - id
      - projectId
      - number
      - name
      - status
      additionalProperties: false
      properties:
        id:
          $ref: '#/components/schemas/Id'
        projectId:
          type:
          - string
          - 'null'
        number:
          type:
          - string
          - 'null'
        name:
          type:
          - string
          - 'null'
        status:
          type: string
    Error:
      type: object
      description: 'The uniform error envelope. Only errors carry `success: false`; success responses are the bare resource or a `{ data, nextCursor? }` collection.'
      required:
      - success
      - code
      - message
      - requestId
      additionalProperties: false
      properties:
        success:
          type: boolean
          const: false
          description: Always `false`. Present only on errors.
        code:
          $ref: '#/components/schemas/ErrorCode'
        message:
          type: string
          description: Human-readable description of the failure.
        requestId:
          type: string
          description: Request ID for support and troubleshooting.
          examples:
          - req_3f9b2a7c
        fieldErrors:
          type: object
          description: Validation messages keyed by input field.
          additionalProperties:
            type: array
            items:
              type: string
        requiredAbility:
          type: string
          description: Permission required for the action, such as `update:Transaction`.
        retryAfter:
          type: integer
          description: Seconds to wait before retrying.
        accessDecision:
          $ref: '#/components/schemas/ProductAccessDecision'
          description: Product-access details when the operation is unavailable.
        mergedIntoId:
          allOf:
          - $ref: '#/components/schemas/Id'
          description: On a `404` from an update or delete of a merged transaction's old ID, the ID of the transaction it was merged into. Present only when you can read both.
          examples:
          - txn_pay1027
    PaymentBudgetLineLink:
      type: object
      required:
      - id
      - accountId
      - description
      - type
      additionalProperties: false
      properties:
        id:
          $ref: '#/components/schemas/Id'
        accountId:
          type:
          - string
          - 'null'
        description:
          type:
          - string
          - 'null'
        type:
          type:
          - string
          - 'null'
    PaymentContactLink:
      type: object
      required:
      - id
      - name
      - displayTitle
      - company
      - email
      - type
      additionalProperties: false
      properties:
        id:
          $ref: '#/components/schemas/Id'
        name:
          type:
          - string
          - 'null'
        displayTitle:
          type:
          - string
          - 'null'
        company:
          type:
          - string
          - 'null'
        email:
          type:
          - string
          - 'null'
        type:
          type:
          - string
          - 'null'
    PaymentRequestExpand:
      type: string
      description: Related record available through `expand`.
      enum:
      - contact
      - purchaseOrder
      - document
      - payment
      - transactions
      - budgetLine
    PaymentRequestList:
      type: object
      required:
      - data
      additionalProperties: false
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/PaymentRequest'
        nextCursor:
          $ref: '#/components/schemas/NextCursor'
    Money:
      type: object
      description: An amount in integer minor units and its ISO-4217 currency.
      required:
      - amount
      - currency
      additionalProperties: false
      properties:
        amount:
          type: integer
          format: int64
          minimum: -4503599627370496
          maximum: 4503599627370496
          description: Amount in the currency's smallest unit, such as cents. May be negative, and at most 2^52 either way.
          examples:
          - 152900
        currency:
          type: string
          description: ISO-4217 currency code.
          minLength: 3
          maxLength: 3
          pattern: ^[A-Za-z]{3}$
          examples:
          - USD
    PaymentRequest:
      type: object
      required:
      - id
      - workspaceId
      - projectId
      - purchaseOrderId
      - contactId
      - budgetLineId
      - amount
      - description
      - memo
      - dueDate
      - method
      - status
      - submittedAt
      - approvedAt
      - rejectedAt
      - completedAt
      - createdAt
      - updatedAt
      additionalProperties: false
      properties:
        id:
          $ref: '#/components/schemas/Id'
        workspaceId:
          $ref: '#/components/schemas/Id'
        projectId:
          type:
          - string
          - 'null'
        purchaseOrderId:
          type:
          - string
          - 'null'
        contactId:
          type:
          - string
          - 'null'
        budgetLineId:
          type:
          - string
          - 'null'
        amount:
          $ref: '#/components/schemas/Money'
        description:
          type:
          - string
          - 'null'
        memo:
          type:
          - string
          - 'null'
        dueDate:
          type:
          - string
          - 'null'
          format: date-time
        method:
          type:
          - string
          - 'null'
        status:
          $ref: '#/components/schemas/PaymentRequestStatus'
        submittedAt:
          type: string
          format: date-time
        approvedAt:
          type:
          - string
          - 'null'
          format: date-time
        rejectedAt:
          type:
          - string
          - 'null'
          format: date-time
        completedAt:
          type:
          - string
          - 'null'
          format: date-time
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        contact:
          oneOf:
          - $ref: '#/components/schemas/PaymentContactLink'
          - type: 'null'
        purchaseOrder:
          oneOf:
          - $ref: '#/components/schemas/PaymentPurchaseOrderLink'
          - type: 'null'
        document:
          oneOf:
          - $ref: '#/components/schemas/PaymentDocumentLink'
          - type: 'null'
        payment:
          oneOf:
          - $ref: '#/components/schemas/PaymentBase'
          - type: 'null'
        transactions:
          type: array
          items:
            $ref: '#/components/schemas/PaymentTransactionLink'
        budgetLine:
          oneOf:
          - $ref: '#/components/schemas/PaymentBudgetLineLink'
          - type: 'null'
    Id:
      type: string
      description: A stable resource ID, such as `prj_…`, `txn_…`, or `doc_…`.
      examples:
      - txn_8f2a1c9e
    NextCursor:
      type:
      - string
      - 'null'
      description: Cursor for the next page. Pass it as `cursor` with the same filters and sort. Null on the last page.
      examples:
      - eyJpZCI6InR4bl84ZjJhMWM5ZSJ9
      - null
    PaymentStatus:
      type: string
      description: Current payment status.
      enum:
      - requested
      - needs_approval
      - ready_to_pay
      - scheduled
      - sending
      - settled
      - returned
      - failed
      - rejected
      - canceled
  responses:
    Error400:
      description: The request is invalid.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Error404:
      description: Not found or unavailable to the token.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Error401:
      description: Unauthenticated, `unauthenticated`, `invalid_token`, `missing_authorization` or `token_revoked` (expired, malformed, missing or revoked credentials).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Error403:
      description: Forbidden. The token does not allow this action.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  parameters:
    cursor:
      name: cursor
      in: query
      required: false
      description: Cursor from the previous page's `nextCursor`. Use it with the same filters and sort.
      schema:
        type: string
    limit:
      name: limit
      in: query
      required: false
      description: Maximum number of items to return on a page. Capped at 100.
      schema:
        type: integer
        minimum: 1
        maximum: 100
        default: 50
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Personal API token sent as `Bearer <token>`. Each token belongs to one workspace.