Skip to content
SALERINGOSITE v1.27.0

API reference

Review one complete request, response, permission, idempotency, and failure contract before requesting the full approved integration package.

The contract connects a request to its outcome.Illustrative API contract. An example does not grant write permission.
  1. 01
    Command
    Operation
    POST /cases
    Permission
    case.create
  2. 02
    Validate
    Required
    Approved fields
    Duplicate guard
    Idempotency-Key
  3. 03
    Accepted result
    HTTP
    201
    Trace
    X-Request-Id
Accepted is not business completion.

Use the documented result and resulting work record to establish what actually happened.

Contract example and implementation context
An implementation team defining fields, permissions, and failure handling together
Agree the operation, fields, permission, and failure contract before launch.
Illustrative contract
POST/cases
Permission
case.create
Idempotency
required
Response
typed
Trace
request ID

The published API contract is validated against the operations listed in this reference. What is available to you still depends on the signed scope and the credentials issued to you.

Implementation checklist

Implement only the operations and permissions published for your approved scope.

The published API contract is validated against the operations listed in this reference. What is available to you still depends on the signed scope and the credentials issued to you.

  1. ReadGET operations state their permission, query fields, pagination, and response shape.
  2. CommandSupported writes use a unique Idempotency-Key and may require a current version or stronger verification.
  3. DecodeTreat authentication, permission, conflict, validation, throttling, and service failures differently.
  4. ObservePreserve the request ID so your team and Saleringo can discuss the same attempt.

Request and result

Example governed command

POST /cases
Authorization: Bearer <server-token>
Idempotency-Key: <unique-command-key>
Content-Type: application/json

{ "subject": "Callback request" }

Example accepted result

HTTP 201
X-Request-Id: req_...

{ "id": "case_...", "status": "open" }

Failure handling

StatusMeaningClient action
401Credential is missing, expired, or invalidStop; refresh through the approved server flow.
403Identity lacks the exact permission or scopeDo not retry; request an access review.
409State, version, idempotency, or approval conflictsRead the conflict and reconcile before another command.
422The request does not match the published schemaCorrect the named fields; do not retry unchanged.
429The integration is sending too quicklyHonor the supplied wait guidance and apply backoff.
5xxA temporary service failure may have occurredPreserve IDs; retry only when the operation permits it.

Implementation support

Do not send credentials, customer secrets, or raw payment data. Include the contract version, environment, operation, timestamp, and non-sensitive correlation ID.

Open the contact path

Check one integration contract.

Confirm authentication, permissions, timeouts, duplicate handling, and failure evidence for the approved deployment.

Open the integration guide