Saturation Payments API
Payments from request through settlement, with linked records and a Timeline.
Payments from request through settlement, with linked records and a Timeline.
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/saturation-io:saturation-io-payments-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: Saturation Payments 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: Payments
description: Payments from request through settlement, with linked records and a Timeline.
paths:
/payments:
get:
operationId: payments_list
summary: List payments
description: Returns payments.
tags:
- Payments
parameters:
- $ref: '#/components/parameters/limit'
- $ref: '#/components/parameters/cursor'
- name: status
in: query
description: Only payments with this status.
schema:
$ref: '#/components/schemas/PaymentStatus'
- name: projectId
in: query
description: Project ID or slug. Only payments for this project. Slugs can change, so store the ID.
schema:
$ref: '#/components/schemas/Id'
- name: purchaseOrderId
in: query
description: Only payments linked to this purchase order.
schema:
$ref: '#/components/schemas/Id'
- name: paymentRequestId
in: query
description: Only payments created from this payment request.
schema:
$ref: '#/components/schemas/Id'
- name: contactId
in: query
description: Only payments for this contact.
schema:
$ref: '#/components/schemas/Id'
- name: expand
in: query
schema:
type: array
items:
$ref: '#/components/schemas/PaymentExpand'
style: form
explode: false
description: Related records to include, separated by commas.
responses:
'200':
description: Payments.
content:
application/json:
schema:
$ref: '#/components/schemas/PaymentList'
'400':
$ref: '#/components/responses/Error400'
'401':
$ref: '#/components/responses/Error401'
'403':
$ref: '#/components/responses/Error403'
'404':
$ref: '#/components/responses/Error404'
/payments/{paymentId}:
get:
operationId: payments_get
summary: Get a payment
description: Returns a payment. Use `expand` to include related records.
tags:
- Payments
parameters:
- name: paymentId
in: path
required: true
schema:
$ref: '#/components/schemas/Id'
- name: expand
in: query
schema:
type: array
items:
$ref: '#/components/schemas/PaymentExpand'
style: form
explode: false
description: Related records to include, separated by commas.
responses:
'200':
description: The payment.
content:
application/json:
schema:
$ref: '#/components/schemas/Payment'
'400':
$ref: '#/components/responses/Error400'
'401':
$ref: '#/components/responses/Error401'
'403':
$ref: '#/components/responses/Error403'
'404':
$ref: '#/components/responses/Error404'
/payments/{paymentId}/timeline:
get:
operationId: payments_getTimeline
summary: Get a payment timeline
description: Returns payment history, newest first.
tags:
- Payments
parameters:
- name: paymentId
in: path
required: true
schema:
$ref: '#/components/schemas/Id'
- $ref: '#/components/parameters/limit'
- $ref: '#/components/parameters/cursor'
responses:
'200':
description: Payment history.
content:
application/json:
schema:
$ref: '#/components/schemas/PaymentTimelinePage'
'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
PaymentTimelinePage:
type: object
required:
- data
- nextCursor
additionalProperties: false
properties:
data:
type: array
items:
$ref: '#/components/schemas/PaymentTimelineEvent'
nextCursor:
type:
- string
- 'null'
Payment:
type: object
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
request:
oneOf:
- $ref: '#/components/schemas/PaymentRequestBase'
- type: 'null'
purchaseOrder:
oneOf:
- $ref: '#/components/schemas/PaymentPurchaseOrderLink'
- type: 'null'
transactions:
type: array
items:
$ref: '#/components/schemas/PaymentTransactionLink'
contact:
oneOf:
- $ref: '#/components/schemas/PaymentContactLink'
- type: 'null'
budgetLine:
oneOf:
- $ref: '#/components/schemas/PaymentBudgetLineLink'
- type: 'null'
document:
oneOf:
- $ref: '#/components/schemas/PaymentDocumentLink'
- type: 'null'
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'
PaymentExpand:
type: string
description: Related record available through `expand`.
enum:
- request
- purchaseOrder
- transactions
- contact
- budgetLine
- document
PaymentList:
type: object
required:
- data
additionalProperties: false
properties:
data:
type: array
items:
$ref: '#/components/schemas/Payment'
nextCursor:
$ref: '#/components/schemas/NextCursor'
PaymentTimelineEvent:
type: object
required:
- id
- type
- label
- occurredAt
- actor
- related
additionalProperties: false
properties:
id:
$ref: '#/components/schemas/Id'
type:
type: string
label:
type: string
occurredAt:
type: string
format: date-time
actor:
oneOf:
- type: object
required:
- id
- name
- avatarUrl
additionalProperties: false
properties:
id:
$ref: '#/components/schemas/Id'
name:
type: string
avatarUrl:
type:
- string
- 'null'
- type: 'null'
related:
type: array
items:
type: object
required:
- type
- id
additionalProperties: false
properties:
type:
type: string
enum:
- document
- payment_request
- payment
- transaction
- purchase_order
- approval
id:
$ref: '#/components/schemas/Id'
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
PaymentRequestBase:
type: object
description: A request to pay a person or company.
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
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.