Stable Pro API · v1
Changes and availability
The features available in the API and what is new in the technical specification.
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 /connectiontells you insandboxwhether the key belongs to the test environment.- Two new error types, for test keys only:
503 sandbox-resettingand403 sandbox-inactive. - Every response, errors included, carries the
X-Request-Idheader. - 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 /paymentsstate money (money_amount) and customer credit (customer_credit_amount) separately, and who recorded them (origin). Theamountfield 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_amountandfunded_by;GET /credit-entriesaccepts thepaymentfilter. - 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 receivescustomer.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_advanceandinvoiced_through_advances, andamount_to_invoicedoes not ask for it again. - Invoiceable credit entries have
invoiceable,invoiced_by,amount_invoicedandinvoiced_breakdown. - New rejection reasons:
credit_entry_not_invoiceable,exceeds_invoiced_advanceandadvance_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.