01.software Docs

Query Checkouts as a server

Use the SDK for application integration. This read-only reference covers Commerce, Customer Auth, Membership and Events.

All HTTP operations
POST
/api/checkouts/query

sk01_ read scope only; PAT, Customer JWT and native operator sessions are rejected. Tenant scope comes from the verified server credential.

Authorization

serverSecretKey
headerAuthorizationBearer <token>

Public integration credential: opaque sk01_ secret API key only; PAT and Customer JWT are not supported by this scheme. Requires tenant binding and the read or write scope named by the operation.

Header Parameters

Accept?"application/vnd.01software.credit-funding.v1+json"

Exact whole-value opt-in after trimming whitespace, case-insensitive. Lists, wildcards and parameters (including q/charset) retain legacy JSON. Success only: vendor Content-Type and private, no-store. Accept never grants money or authorization. Missing funding means unknown support, not zero credit. Purchase total semantics are unchanged.

Value in"application/vnd.01software.credit-funding.v1+json"

Request Body

application/json
  1. body
limit?integer
Range1 <= value <= 100
Default20
cursor?string
Length1 <= length <= 512
status?array<>
createdAtFrom?string
Formatdate-time
createdAtTo?string
Formatdate-time
clientReferenceId?string
Length1 <= length <= 255

Response Body

Query Checkouts as a server result

  1. response
data*array<|||>
hasMore*boolean
nextCursor*|
Length1 <= length <= 512

Examples may be generated from schemas; they are illustrative, not recorded successful API calls. Example snippets may omit required authentication headers.

Example Request
curl -X POST 'https://api.01.software/api/checkouts/query' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "data": [    {      "id": "string",      "amounts": {        "currency": "string",        "subtotalMinor": 0,        "shippingMinor": 0,        "discountMinor": 0,        "totalMinor": 0      },      "customerSnapshot": {        "email": "user@example.com",        "name": "string",        "phone": "string"      },      "expiresAt": "2019-08-24T14:15:22Z",      "createdAt": "2019-08-24T14:15:22Z",      "updatedAt": "2019-08-24T14:15:22Z",      "clientReferenceId": "string",      "status": "open",      "paymentState": {        "activePaymentSession": {          "id": "string",          "provider": "toss",          "providerStatus": "requires_payment_method"        }      },      "order": null    }  ],  "hasMore": true,  "nextCursor": "string"}