Stable Pro

Stable Pro API · v1

Changes and availability

The features available in the API and what is new in the technical specification.

The documented operations are available for the real stable and for its test environment, at the same address. Use the key for the environment you are working in.Availability and changes · 2026-12-03

The operations described in these guides are available at https://app.stable-pro.com/api/v1, for the real stable with an sp_live_… key and for its test environment with an sp_test_… key. The date of the last check is at the top of each page.

What is new in this version

Test environment

  • Every stable whose plan includes the API can have a test environment with sample data. Its sp_test_… keys use the same address as the real keys.
  • GET /connection tells you in sandbox whether the key belongs to the test environment.
  • Two new error types, for test keys only: 503 sandbox-resetting and 403 sandbox-inactive.
  • Every response, errors included, carries the X-Request-Id header.
  • In the management app, keys are created in Settings → API & integrations, choosing the live environment or the test environment.

Payments and credit

  • The movements of GET /payments state money (money_amount) and customer credit (customer_credit_amount) separately, and who recorded them (origin). The amount field is gone: it mixed money and credit. This is the only incompatible change in v1, made after checking that no integration was reading /payments. See Payments, credit and advances.
  • Credit entries have accounting_month, spendable, remaining_amount and funded_by; GET /credit-entries accepts the payment filter.
  • Charges state how much of the settled amount was paid with credit (amount_paid_with_credit).
  • Adjustments state which movement produced them (payment_id, payment_link) and, for those created by the engine, why (cause).
  • A customer who has only paid an advance appears in GET /customers, and receives customer.updated.

Invoiced advances

  • A document can cover an advance (covers[].object: "credit_entry"): the advance invoice with a positive amount, the final invoice that deducts it or the credit note that corrects it with a negative amount.
  • Charges paid with an advance already invoiced show that part in amount_invoiced_through_advance and invoiced_through_advances, and amount_to_invoice does not ask for it again.
  • Invoiceable credit entries have invoiceable, invoiced_by, amount_invoiced and invoiced_breakdown.
  • New rejection reasons: credit_entry_not_invoiceable, exceeds_invoiced_advance and advance_reduced_by_issued_document.

Earlier versions

Since 20 November 2026 you can read the connection, organization, codes, customers, charges, adjustments, payments, credits, receipts and events, and record external documents with reservations and status changes.

A new POST /external-documents/reservations returns 201. The first POST /external-documents registration returns 201; when the same connection records the same document again with identical data and a different Idempotency-Key, it returns 200. Repeating the same request with the same Idempotency-Key returns the original response instead, even if it was 201.

See the Reference for each operation's parameters and responses.