Developers

API reference

295 operations. Sandbox needs no approval.

This is the Developers side of Skerry: one HTTPS API over verification, custody, accounts, payouts, conversion, payment acceptance, agents and their limits. Everything below is callable with a sandbox key, which moves no real money and is issued on the platform (platform.skerry.xyz) without waiting for approval. You sign in with your Praecise account; Praecise accounts are by invitation. A live key works only after live is approved for the project; live access is not open to the public. Skerry is software: the money of every customer is held by its regulated partners.

Base URL
https://api.skerry.xyz
Machine-readable
openapi.json
For a model
llms.txt
Keys
platform.skerry.xyz
curl https://api.skerry.xyz/whoami \
  -H "Authorization: Bearer sk_test_…"

That is the quickest way to prove a key works: it answers with the partner, project, mode and scopes behind it. The environment comes from the key rather than the URL, so the same code runs against sandbox and live by swapping one value.

Basics

Conventions

True of every endpoint they name.

idempotency
Send `Idempotency-Key` on every POST. A repeat returns the first response rather than acting twice; a repeat with a different body is refused. This is how a retry after a timeout stays safe. Calls that move money require it, `POST /payouts` included.
errors
Failures are `{ error: { code, message, detail, request_id } }`. Branch on `code`, never on `message` — messages are written for people and will change.
request id
Every response carries `x-request-id`. Keep it on anything you log: it is what lets us find one call out of millions.
pagination
List endpoints return newest first and take `?limit=` and `?cursor=`. A response carrying `next_cursor` has more.
amounts
Every amount is one of two forms, and the reference says which. Integer minor units: a whole number of the currency's smallest unit (cents for USD and EUR, six places for a stablecoin) beside a lowercase `currency`. Payments, refunds, settlements, conversions, ledger entries, budgets and every field named `*_minor` use this. Decimal strings: `"12.50"`, used by `amount` and `fee` on payouts and by wallet balances, which predate the rule. Wherever a decimal string is returned, the same amount is returned beside it as `amount_minor` (or `fee_minor`) with `currency`; `POST /payouts` and `POST /payouts/quote` accept `amount_minor` in place of `amount`. A rate is a ratio, not an amount, and stays a decimal string. Limits on a spend policy are integer minor units of the unit its `scope` names.
spend limits
`scope` is required when a policy is created: nothing reads an amount in a unit the caller did not name. A spend policy's limits bound a unit family when it says `scope: "family"`: USD together with USDC, USDT, USDB, OUSD and PYUSD; EUR together with EURC. Amounts are converted to the family's fiat minor unit, rounded up, before they are compared or counted, so `daily_max: 5000` is 50.00 USD however it is spent. `scope: "currency"` keeps each currency apart, with limits in that currency's own smallest unit. Policies created before family scope existed keep `scope: "currency"`. A reservation against a limit is released when the operation fails, and also later, when a payout is returned, cancelled, undeliverable or fails to return, or a refund or conversion fails.
mandates
A spend policy with its purpose, limits and consent is a mandate; `mandate_id` on any object is the policy id. `summary` states the rule in sentences generated from it. Consent evidence (`evidence` on create, or `POST /spend-policies/{id}/consent`) is stored with the SHA-256 of the mandate's canonical text (its rule as JSON, keys sorted, no whitespace). Every transaction row records the mandate, the consent attached to it at the time, the approval that released it, and the key and agent that asked, and returns them as `authorisation`.
approvals
A held operation answers 202 with `approval_id`, `reason` and `reason_code` (amount, operation, new_payee or risk). It can be decided by another key, by a person through a link from `POST /approvals/{id}/links`, or by a signed-in member in the console. An agent can never approve. A mandate may ask for two approvers, who must be different keys, members or approver references, and for passkey evidence. When approver emails are set for the customer and outbound mail is configured, each approver is emailed their own links.
dry run
Send `Skerry-Dry-Run: true` (or `dry_run: true` in the body) on a money-moving call to check it without doing it: payouts, batches, conversions, refunds, off-session charges, settlements, subscriptions, checkout sessions and payment links. Validation, ownership, the freeze, policies, budgets, the customer's risk rules and payee rules are evaluated, and for payouts and conversions the provider's own dry run is asked. The answer is 200 with `dry_run: true`, `next` (run, hold or refuse), `checks` (each check and its result), `object` (what would be created, where the operation can state it) and, for hold or refuse, why. Nothing is reserved, sent or created. With the header, no Idempotency-Key is needed and no idempotency record is kept.
environments
A `sk_test_` key reaches only sandbox data and test money; a `sk_live_` key only live. Nothing is shared between them, ids from one are not found in the other, and sandbox-only helpers refuse a live key.
rate limits
Reads are limited to 600 and writes to 120 per minute per key. Past that, 429 `rate_limited` with `Retry-After`. Every response carries `RateLimit-Limit` and `RateLimit-Remaining`.
references
Send `external_ref` (up to 200 characters) with `external_kind` (invoice, bill, order, booking or other) on a checkout session, payment link, payment, refund, payout, conversion or subscription to name the document it belongs to in your own system. Skerry stores it, returns it on the object, on every event about it and on the ledger entry, and lists by it (`?external_ref=`). On a bank payout it is also what the payee's bank shows, cut to what the rail carries.
receipts
Every movement has a receipt at `GET /receipts/{id}`, and the `movement.pending`, `movement.posted` and `movement.reversed` events carry it. A receipt is signed with Ed25519 over its canonical JSON (keys sorted, no whitespace) without the `signature` field; verify it with the key named by `signature.key_id` at `/.well-known/skerry-receipt-keys`.
waiting
To wait for an outcome inside a request, add `?wait=<seconds>` (up to 30) to `GET /payouts/{id}`, `GET /payments/{id}`, `GET /conversions/{id}` or `GET /approvals/{id}`. The request returns when the object reaches a final state, or the state named with `?until=` (for a payout: paid, returned or canceled), or when the wait ends, with the object as it stands; check its status. `GET /events?after=<event id>&wait=<seconds>` does the same for new events. Waiting re-reads on an interval inside the request. A key may have 5 requests waiting at once; beyond that the answer is 429 `too_many_waiters`.
payout rails
A payout to a bank account leaves on a rail: ach, ach_same_day, wire or fednow for USD, sepa for EUR, faster_payments for GBP, spei for MXN, pix for BRL, bre_b or co_bank_transfer for COP. Name one with `rail`, or say what matters with `speed`. With neither, the currency fixes the family of rails, the customer must be enabled for the rail (USD and EUR for every verified customer; the others customer by customer; fednow only when the payee's bank can receive it), and for USD the amount decides: ach up to 1,000,000.00, wire above. `fastest` prefers fednow, then wire, then ach_same_day, then ach; `cheapest` prefers ach. A named rail is used or refused, never swapped. The payout and the quote carry `rail` and `rail_reason`. rtp is reported on money arriving and is not offered for payouts.
payout statuses
A payout is `awaiting_funds`, `processing`, `on_hold`, `paid`, `undeliverable`, `returning`, `returned`, `return_failed` or `canceled`. `on_hold` comes with `hold: { reason_code, reason, deadline }`; when the hold is a request for information, `hold.compliance_request_id` names it. A status of `unknown` means the provider reported a state this API has not been taught; treat it as still in progress.
payment methods
`payment_methods` on `GET /capabilities`, and `GET /customers/{id}/payment-methods` for one customer, list every way money moves: cards, wallets, buy now pay later and local methods as the card processor reports them, bank debit, bank transfer in and out by rail, each stablecoin by chain, conversion, issued cards, paying by the call and agent tokens. Each method has a cell per direction (`pay_in`, `pay_out`, `hold_and_capture`, `recurring`, `refund`, `dispute`) with one `status` (`available`, `per_customer`, `preview`, `off`, `not_offered`), a `reason_code`, and the provider by role (`banking_partner`, `card_processor`). Methods that are not served (push to card, cash, cheque, mobile money, crypto other than stablecoins) are listed as `not_offered`. `settles` says whether a method's outcome is known at once or arrives later: a `delayed` method moves a payment through `processing` to `succeeded` or `failed`, each announced as an event.
payment instructions
A checkout session created with `payment_instructions` carries `payment_instructions[]`: for stablecoin, an address (and memo where the chain uses one) for a named coin on a named chain; for bank transfer, the account's details and a `reference` the payer must quote. They are bound to the session and expire with it. The session completes when the deposit arrives, as one payment with `method`, `rail`, `amount_received`, `fee` and the usual events. Too little leaves the session open with `amount_remaining` until it expires; the payment then fails with `underpaid` and what arrived is refundable. Too much completes it, with the excess as `amount_overpaid`, refundable. A deposit reported twice is credited once. A deposit in the wrong coin, on the wrong chain, without a known reference, or after the expiry is never credited: it becomes an unmatched deposit (`deposit.unmatched`) for a person to assign or send back. A refund of such a payment is a payout back to the sender where the banking partner reports one, otherwise to `destination`; a bank deposit on ACH or FedNow goes back whole.
agentic checkout
A customer's agentic checkout endpoint is `/agentic/{customer_id}`, following the Agentic Commerce Protocol (2026-04-17). The agent platform authenticates with the bearer token the customer issued, sends `API-Version`, and sends `Idempotency-Key` on every POST: the same key with the same body returns the first answer with `Idempotent-Replayed: true`, with a different body 422 `idempotency_conflict`, and while the first is running 409 `idempotency_in_flight`. A credential made with `require_signature` also needs `Timestamp` (RFC 3339, within five minutes) and `Signature`: base64url of HMAC-SHA256, with the signing secret, over `<Timestamp>.<canonical JSON of the body>` (keys sorted, no whitespace; nothing after the dot when there is no body). Prices come from the customer's pricing callback: Skerry POSTs `{ type: "checkout_session.price", customer_id, checkout_session_id, currency, items, buyer, fulfillment_details, selected_fulfillment_options, discounts, api_version }` signed with `Skerry-Signature`, and expects `{ currency?, line_items: [{ id, quantity?, name?, unit_amount, totals? }], fulfillment_options?, totals: [{ type, display_text, amount }], messages?, links?, ready? }` within a few seconds. Order events (`order_create`, `order_update`) go to the credential's `webhook_url` signed with `Merchant-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of '<t>.<raw body>'>`. A session an agent opened is an ordinary checkout session with `source: "agentic"`. Error codes on these routes: `unauthorized`, `invalid_signature`, `agent_not_verified`, `missing_api_version`, `unsupported_api_version`, `idempotency_key_required`, `idempotency_conflict`, `idempotency_in_flight`, `missing`, `invalid`, `not_found`, `unsupported`, `requires_3ds`, `pricing_unavailable`, `capability_off`, `rate_limited`, and on the refunds extension `refunds_not_enabled`, `not_paid`, `outside_window`, `over_limit` and `nothing_to_refund`.
ucp checkout
A customer's Universal Commerce Protocol profile is served at `/ucp/{customer_id}/.well-known/ucp` and its operations under `/ucp/{customer_id}`, following the protocol's 2026-08-25 version (read from the specification's repository, branch release/2026-08-25, on 14 Nov 2026); the business serves or redirects its own `/.well-known/ucp` to the profile. It is a second set of shapes over agentic checkout: the same sessions (`source: "agentic"`), pricing callback, charge and refunds. The platform sends `UCP-Agent: profile="https://..."`; that profile must be in the customer's `trusted_profiles` (else 403 `profile_not_trusted`), is fetched and kept for a minute, must state `ucp.version` 2026-08-25 (else 422 `version_unsupported`; no older version is published) and must declare `dev.ucp.shopping.checkout` at that version (else 200 with `ucp.status: "error"` and the message `capabilities_incompatible`), and the request must be signed per RFC 9421 with a P-256 key the profile publishes, covering `@method`, `@authority`, `@path`, `@query` when there is a query, `ucp-agent`, `idempotency-key` when sent, and `content-digest` and `content-type` when there is a body. The signature is ES256 as raw r||s. In sandbox only, `allow_unsigned` takes requests with no signature. Statuses are `incomplete`, `ready_for_complete`, `complete_in_progress`, `completed` and `canceled`; `requires_escalation` is never answered and `continue_url` never sent, because these sessions have no page to hand a buyer to: what would need the buyer is an `unrecoverable` message. Totals hold one `subtotal` and one `total` and sum. An `Idempotency-Key` is honoured on every POST and PUT (the same key and the same raw body returns the first answer, another body 409 `idempotency_conflict`) and required on complete. Carts (`dev.ucp.shopping.cart`) are offered when the customer has `carts_enabled` and the platform declares the capability, else 400 `cart_not_supported`: priced as estimates by the pricing callback (`type: "cart.price"`), no status, 72 hours, a cart not there answered 200 with `not_found`; `cart_id` on a checkout create makes the checkout from the cart, or returns the open one already made from it. Complete takes the `stripe_payments` handler with a `card` and a `stripe_payment_token` only. A checkout or an order that is not there is answered 200 with `{ ucp: { version, status: "error" }, messages: [{ type: "error", code: "not_found", severity: "unrecoverable" }] }`. The full order is POSTed to the `config.webhook_url` of the platform's order capability, when the platform declares that capability at this version, when the order is made and when a refund changes it (a refund is an adjustment whose total is negative), signed with the customer's key with `Webhook-Id`, `Webhook-Timestamp` and `Content-Digest`, and retried on the webhook backoff with the same id and timestamp. With `ap2_enabled` and a platform that declares the extension, every checkout carries `ap2.merchant_authorization` and complete needs `ap2.checkout_mandate`: a closed AP2 v0.2 Checkout Mandate (`vct` `mandate.checkout.1`, carrying the business's signed checkout as `checkout_jwt`), or the older embedded form; complete answers with `ap2.checkout_receipt`, a signed AP2 v0.2 Checkout Receipt. The mandate's own signature is not verified, because AP2 v0.2 names no way to find its issuer's key, which the payment's authorisation evidence records. Protocol error codes: `capability_off`, `not_found`, `invalid_profile_url`, `profile_not_trusted`, `profile_unreachable`, `profile_malformed`, `version_unsupported`, `signature_missing`, `signature_invalid`, `key_not_found`, `digest_mismatch`, `algorithm_unsupported`, `idempotency_key_required`, `idempotency_conflict`, `idempotency_in_flight`, `cart_not_supported`, `missing`, `invalid`, `conflict`, `pricing_unavailable`, `rate_limited`, `mandate_required`, `mandate_expired`, `merchant_authorization_missing`, `merchant_authorization_invalid`, `mandate_scope_mismatch`, `mandate_not_closed` and `mandate_unsupported`.
agent identity
On the routes agents call, a request signed the Web Bot Auth way (draft-ietf-webbotauth-httpsig-protocol-01: HTTP Message Signatures with `tag="web-bot-auth"` and a `Signature-Agent` header whose member is the HTTPS address of the JWK Set that holds the key) is verified against that key set, fetched as sent from a public address only; ed25519, rsa-pss-sha512 and ecdsa-p256-sha256 signatures are verified. A member that carries parameters is ignored, so the earlier drafts' `;type=` members are no longer read; the older bare string is still read, as the draft allows, and recorded with `older_form: "signature_agent_string"`. Refused for `require_verified_agent`, the answer carries `Accept-Signature`. A signature in Visa's Trusted Agent Protocol form (`tag="agent-browser-auth"` or `"agent-payer-auth"`) is verified against Visa's keys when the deployment has their address (`SKERRY_VISA_TAP`), and otherwise recorded as unverified with the reason `keys_not_published`. The result is stored on the session and the payment as `agent_identity: { verified, method, key_id, operator, signature_agent, older_form? }`: `signature_agent` is the agent's identifier, the address of its key set without any query, and `operator` is the host only when that address is the host's well-known key directory. A request is never refused for lacking a signature unless the customer has set `require_verified_agent`.
machine payments
A priced resource is paid by the call in either of two protocols, offered together. x402 (version 2): the 402 carries `PAYMENT-REQUIRED`, the client retries with `PAYMENT-SIGNATURE`, and the paid answer carries `PAYMENT-RESPONSE`. Machine Payments Protocol: the 402 carries one `WWW-Authenticate: Payment` challenge per method, the client retries with `Authorization: Payment <credential>`, and the paid answer carries `Payment-Receipt`. The smallest single payment is 0.01 USD in stablecoin and 0.50 USD with a delegated card token, in whole cents; a smaller price is paid from prepaid credit bought with one payment and drawn down per call (`Skerry-Credit` on the proxy, `credit_token` on verify). The protocol's own session intent is not offered. Each payment is a payment with `method: "machine"`, its `protocol`, `resource_id` and the payer's address or token reference in `payer_ref`. Older form, kept: a version 1 x402 client's `X-PAYMENT` header is still read.
hosted addresses
Every checkout session and payment link carries `share_url`, an address at this API. A browser is redirected to the hosted page. A client that sends `Accept: application/json`, or asks for the address with `.json` appended, gets a description: amount, currency, status, methods, payment instructions, `agentic_endpoint` when the business has one, and `how_to_pay_without_a_browser`. The address is public and shows what the hosted page shows.
requirements
`requirements` on a customer is one list across both providers. Each entry is `{ capability, provider, status, items[], due_by }`: `provider` is `banking_partner` or `card_processor`; `status` is `satisfied`, `pending_review`, `action_required`, `past_due`, `blocked`, `revoked` or `upcoming`; `items` are `{ id, state }` with state `missing`, `pending` or `issue`; `due_by` is set where a date is known, and always on `upcoming`. For a business, an owner must be named from 25 percent of ownership unless a lower `ownership_threshold` (5 to 25) was given.

Basics

Authentication

Keys, agent keys, signed requests and access tokens.

API keys
Every call but `/` sends `Authorization: Bearer sk_test_…` or `sk_live_…`. The environment is in the key, not in a header, so the same code runs against sandbox and live by swapping one value. Where the deployment is configured with an authorisation server, a short-lived access token issued for this API is accepted in place of a key; `/.well-known/oauth-protected-resource` says whether and from whom.
Agent keys
Register agents with `POST /agents` and give each its own key with `POST /agents/{id}/keys`: that key is the agent, and it can only move money under a spend policy. On a shared key, send `Skerry-Agent: <agent id>` so the agent's policies apply and the audit trail names it; where a policy is bound to an agent, a money-moving call that names no agent is refused with `agent_required`. Once any agent is registered the header must name a registered, active one.
Signed requests
An agent may sign requests with a registered Ed25519 key using HTTP Message Signatures (RFC 9421): `Signature-Input` and `Signature`, covering `@method`, `@target-uri` and, when there is a body, `content-digest` (RFC 9530), with `created`, `expires` (at most 300 seconds later), `keyid` (the key's JWK thumbprint) and `tag="skerry-agent"`. The API key still identifies the account; a valid signature proves which agent sent the request.
Access tokens (OAuth)
Off unless the deployment names an authorisation server, which for Skerry is Praecise Identity. /.well-known/oauth-protected-resource (RFC 9728) then names it, this API’s resource identifier and every scope a token may carry; with none configured it answers 404 and the API takes keys only. An access token is a signed JWT of type at+jwt issued for this API, short-lived, carrying the account, the environment and its scopes, never *. It may be bound to a key, in which case each call needs a DPoP proof. A token is issued to a signed-in person for the accounts they belong to, or, with no person present, to an OAuth client that an agent’s record approves with POST /agents/{id}/oauth-clients; that token is the agent on every call and can only move money under a spend policy.

Basics

Scopes

60 scopes.

Each operation names the scope it needs, and a key narrower than the call is refused with insufficient_scope. * is everything.

*accounts:readaccounts:writeagent-payments:readagent-payments:writeagent_credentialagentic:readagentic:writeagents:readagents:writeapprovals:readapprovals:writeaudit:readbooks:readbooks:writebudgets:readbudgets:writecards:readcards:writecatalog:readcatalog:writecompliance:readcontrols:readcontrols:writeconversions:readconversions:writecustomers:readcustomers:writeeligibility:readevents:readevents:writekeys:readkeys:writeledger:readmachine:readmachine:writemembers:readmembers:writepayees:readpayees:writepayments:readpayments:writepayouts:readpayouts:writepolicies:readpolicies:writeprojects:readprojects:writerefunds:writesettlements:readsettlements:writestanding_orders:readstanding_orders:writesweeps:readsweeps:writeucp_signaturewallets:readwallets:writewebhooks:readwebhooks:write

What is open

Capabilities

21 capabilities, each with its status. The same list is on GET /capabilities.

Each capability is listed with its status. One that is not switched on answers a documented 409 with its reason.

What is open

Payment methods

56 methods, as of 2026-11-14.

Every way money moves, by direction, with one status each. A direction that does not apply to a method is left out. Methods that are not served are listed too. Chains and coins are the lists the API validates against, last checked 2026-11-13.

Bank payouts leave on ACH (USD), Same-day ACH (USD), Wire (USD), FedNow (USD), SEPA (EUR), Faster Payments (GBP), SPEI (MXN), Pix (BRL), Bre-B (COP), Colombian bank transfer (COP). Virtual accounts are opened in USD and EUR.

What is open

Events

80 event types.

Each delivery is { id, type, created_at, data }, signed with Skerry-Signature, retried with backoff and replayable. Register an endpoint for the types you want, or for *.

Operations

Getting started

10 operations

The two calls worth making first. `/` needs no key and lists what exists; `/whoami` proves the key you were given works and says which environment it is in.

Operations

Customers

13 operations

A customer is a business you bring to the platform. It is verified in its own right, and everything else — wallets, accounts, payees — hangs off one.

Operations

A customer's members

3 operations

Say which people may open one of your customers in Skerry Business. A member is a Praecise account tied to one customer with a role. You grant and remove with your key; the person opens the customer at the `url` in the answer, signed in with their Praecise account, and sees nothing else of yours. A member sees the customer's verification, wallets, receiving accounts, payees, balances, payments, refunds and disputes; an owner or an admin also acts, and confirms what moves money with their own passkey. A key cannot act as a member or confirm for one. `customer.member.*` events say when a member was granted, changed, first arrived, was removed, and what they did.

Operations

Custody

16 operations

Where a customer's money sits. A wallet holds stablecoin; an account is fiat at a regulated institution; a card spends from one.

Operations

Paying out

20 operations

A payee is somewhere money can go; a payout sends it there. Quote first when the amount matters — a quote fixes the rate for a short window.

Operations

Standing conversion

3 operations

A standing order converts on a schedule rather than on a call, so a business can hold one currency and settle in another without writing a cron job.

Operations

Events and webhooks

8 operations

Most state changes arrive here rather than in a response, because verification and settlement finish long after the call that started them. Replay is deliberate: a missed delivery is recoverable without asking us.

Operations

Accepting payments

28 operations

Take card and wallet payments for a customer. The payer pays on a hosted page, so card details never reach Skerry or you. Amounts are integer minor units next to a currency code. Build orders from `payment.succeeded`, never from the payer's browser returning to your site.

Operations

Payers, saved methods and subscriptions

14 operations

A payer is someone who pays your customer. Save a method once, with their agreement, and charge it later or on a schedule. The agreement is the mandate. Card numbers are never returned.

Operations

Limits, agents and approvals

17 operations

Constrain what a key, or an agent acting through it, can move. A policy names the business accountable and the person who approved it, caps amounts and counts, restricts destinations, wallets and currencies, and can require one or two people to approve. With its purpose and the evidence that a person agreed to it, a policy is a mandate: `mandate_id` is the policy id. A key that has ever had a policy stays restricted. Amount limits are integer minor units: of the family's fiat currency (cents) under `scope: "family"`, where USD is limited together with USDC, USDT, USDB, OUSD and PYUSD, and EUR with EURC; of each currency's own smallest unit under `scope: "currency"`.

Operations

Agents and credentials

22 operations

Register the agents that act through the API, give each its own key, and stop one without touching the others. A key bound to an agent is that agent on every call and can only move money under a spend policy. An agent can also sign its requests with a registered Ed25519 key (HTTP Message Signatures, RFC 9421), and can delegate a narrower part of its authority to a child agent. Where access tokens are accepted, an OAuth client approved for an agent can obtain tokens that act as it.

Operations

Projects

3 operations

Make projects and their sandbox keys with a credential, with nobody signed in to the console: for a first party that makes a project for each thing built in it. A project made here counts against the plan and appears in the console like any other. Live keys are still minted by a person in the console, confirmed with a passkey.

Operations

Controls and audit

8 operations

Stop money leaving, for one customer or for the whole account, and read back who did what. Every audit entry is chained to the one before it by a hash, so the trail can be checked for edits.

Operations

Conversion and ledger

5 operations

Convert a customer's own balance between currencies with a priced, expiring quote, and export the double-entry books for an accountant.

Operations

Books and receipts

11 operations

Skerry keeps the money and a signed record of every movement. Invoices, bills, tax, statements, reconciliation and accountant exports are kept in the customer's books: connect the customer's Rivier project once, a person approves it there, and every movement is delivered to it. What Skerry is asked about those subjects it answers with a link into the books, or with 409 `books_not_connected` and the next step.

Operations

Budgets

5 operations

Set aside part of a wallet's balance for one mandate or one agent. A budget is an earmark kept by Skerry: nothing moves at the provider. An operation under a budgeted mandate, or by a budgeted agent, may only spend from its budget, and every other caller may only spend what is not set aside. Amounts are integer minor units of the budget's currency.

Operations

Customer controls

11 operations

Controls set on one customer that apply to every caller, whatever its mandate: holding the first payout to a destination the customer has never paid, a cooling-off period, velocity and anomaly rules, a withdrawal allow-list, and the people who approve held operations by email. Every control is off until it is set, and an agent's own credential cannot change one.

Operations

Wallet controls

6 operations

A wallet with a purpose: a label, a purpose, the agent it is for and a floor, kept by Skerry beside the provider's wallet. Sweep rules keep a balance in range by moving the difference on a schedule; each run is an ordinary payout made as the key that created the rule, under that key's mandates. To confine an agent to named wallets, set `wallet_allow_list` on its mandate.

Operations

Scheduled payouts and waiting

4 operations

A payout can run later instead of now: send `POST /payouts` with `execute_at` (a future time), `schedule` (`{ every, unit: day | week | month, end_at? | count? }`) or `release_on` (`{ event, object_id }`, or `"approval"` for a person). It needs an Idempotency-Key and answers with a scheduled payout. Each run is an ordinary payout made as the key that scheduled it, under that key's mandate as it stands when it runs; a frozen customer, a revoked or expired key, a revoked agent or a revoked mandate cancels the schedule with the reason. A payout with `release_on` sets its amount aside in the source wallet until it is released, cancelled or lapses at `expires_at` (7 days by default, 90 at most). `travel_rule` cannot be scheduled. `amount_minor` on a scheduled payout is integer minor units of `currency`; `amount` is the same as a decimal string. To wait for an outcome without a webhook, add `?wait=` to a read.

Operations

Authorisation evidence

4 operations

What authorised a transaction. Payments, payouts, refunds, conversions, settlements, subscriptions, checkout sessions and payment links carry an `authorisation` block: `mandate_id` (the policy id), `policy_id`, `agent_id`, `key_id`, `consent_id` and `approval_id`. The routes here return the whole record behind those ids for a dispute.

Operations

Sandbox

7 operations

Helpers that exist only with a test key, so an integration can be built and exercised without a browser or a bank.

Operations

Agentic checkout: what a customer sets

10 operations

Let agent platforms buy from a customer through the Agentic Commerce Protocol. The customer issues each platform a bearer token, registers where its own system is asked for line items, totals, tax and fulfilment, and says what agents may do. Skerry holds no catalogue and computes no tax. A preview: sessions can be opened and priced, and completing one needs delegated payment tokens to be switched on for the customer.

Operations

Agentic Commerce Protocol

6 operations

Called by an agent platform, not by a partner. Authentication is the bearer token the customer issued (`POST /customers/{id}/agentic/credentials`), not an API key. Every call sends `API-Version` (2026-04-17, or an earlier published version) and every POST sends `Idempotency-Key`. Paths, fields, statuses and messages follow the protocol's specification; errors are the protocol's `{ type, code, message, param }`, not Skerry's envelope. The refunds call is a Skerry extension and says so.

Operations

Agent2Agent

4 operations

Skerry speaks the Agent2Agent protocol (A2A 1.0, release v1.0.1 of 28 May 2026), JSON-RPC and HTTP+JSON bindings at the same base: JSON-RPC is POST to the base, HTTP+JSON is the specification's paths under it (`POST {base}/message:send`, `POST {base}/message:stream`, `GET {base}/tasks`, `GET {base}/tasks/{id}`, `POST {base}/tasks/{id}:cancel`, `GET|POST {base}/tasks/{id}:subscribe`, `{base}/tasks/{id}/pushNotificationConfigs[/{config_id}]`), answering `application/a2a+json` and errors as `google.rpc.Status`. Two signed agent cards: Skerry's own, with the skills `pay` and `quote`, and one for each business that sells through agentic checkout, with the skill `checkout`. A skill is asked for with `SendMessage` and one data part `{ skill, input }`, where `input` is the body of the REST operation it stands for; the operation runs with the caller's own credential, so its scopes, controls and approvals apply, and the idempotency key of a write is derived from the message's `messageId`. Tasks are the records they follow: `pay_<agent payment id>`, `approval_<approval id>` for a held payment, `checkout_<checkout session id>`; `GetTask` reads the record, `CancelTask` cancels a checkout, `ListTasks` lists them newest first with a page token. `SendStreamingMessage` and `SubscribeToTask` answer server-sent events: the task, then each change of its record or state, until it ends (a sent message's stream also ends when the task waits on the client); a stream lasts five minutes at most. Push notifications, where the deployment offers them (`capabilities.pushNotifications` on the card), POST a status event to an HTTPS address the client gives, with its `authentication` and `token`, when the task's state changes; they are set up with an API key, or a business's platform credential. Every request sends `A2A-Version: 1.0`. A card is signed (JWS, EdDSA, detached, over its RFC 8785 canonical JSON without `signatures`) with the key named by `kid` at `/.well-known/jwks.json`, and served with an ETag. Not offered: the extended card and the gRPC binding.

Operations

Universal Commerce Protocol: what a customer sets

2 operations

Let platforms buy from a customer through the Universal Commerce Protocol, over the same checkout sessions, pricing callback, charging and refunds as agentic checkout. The customer lists the platforms it accepts by the address of their profile and says what its profile publishes; Skerry makes and keeps its signing key. A preview, off by default: every call answers 409 `capability_off` until it is switched on for the platform, and completing a checkout also needs delegated payment tokens.

Operations

Universal Commerce Protocol

14 operations

Called by a platform, not by a partner, and not with an API key. The platform names its profile in `UCP-Agent` and signs each request (RFC 9421, ES256) with a key that profile publishes; the customer must have listed that profile. Paths, fields, statuses and messages follow the protocol's 2026-08-25 version, the only one spoken. What the business decides about a checkout is a 200 with `messages`; a checkout or order that is not there is a 200 with `ucp.status: "error"` and `messages`; protocol errors are `{ code, content }`, not Skerry's envelope. A preview, off by default.

Operations

Product catalogue

6 operations

A customer's products, held so agent platforms can read them: as an Agentic Commerce Protocol (2026-04-17) feed the customer hands to a platform, and through the Universal Commerce Protocol catalog operations under the customer's UCP address. A product has a title, a description, its currency, and one to 100 variants, each with a price in minor units, an availability (`in_stock`, `limited_stock`, `backorder`, `preorder`, `out_of_stock`, `discontinued`), options such as size or colour, and an optional sku unique within the customer. Sandbox and live keep separate products. The price held here is the one shown; at checkout the customer's pricing callback still sets it. A variant's id is what a platform puts in a checkout line item's `item.id`, so it is passed to the pricing callback. Off unless the platform has switched the catalogue on: until then each operation answers 409 `capability_off`.

Operations

Paying by the call

13 operations

Price a resource and let automated clients pay for each call. Skerry builds the 402 for the customer's server in both x402 and the Machine Payments Protocol, checks the payment the client sends back, and settles it on the customer's own merchant account. Skerry runs no facilitator and holds no keys. A preview: every call answers 409 `capability_off` until it is switched on for the customer.

Operations

Hosted addresses and the pay-by-the-call proxy

7 operations

Public addresses, with no key: the id in the address is the credential, as it is on a hosted checkout page. A checkout session's and a payment link's `share_url` show a browser Skerry's own page where Skerry's own checkout is open, or send it on to the processor's page, and answer a client that asks for JSON (`Accept: application/json`, or the address ending `.json`) with a description it can act on. `/pay/{resource_id}` fronts a priced resource: 402 until paid, then the request is forwarded to the address the business registered. In front of an MCP server (a resource whose protocol is `mcp`), only the priced calls are paid, answered with the JSON-RPC error -32042 until they carry a credential in `_meta`. Errors are `{ error: { code, message } }`, or the paying protocol's own on a 402.

Operations

Agents paying

8 operations

A registered agent pays another merchant. The agent's request is sent to the merchant; when it answers 402, one offer is paid and the request is sent once more. Two ways of paying are built: x402 version 2, the `exact` scheme, in USDC from a wallet whose key the wallet provider holds and whose policy lets it sign that one kind of message; and the Machine Payments Protocol's `stripe` method, with a delegated payment token issued for the challenge's amount and expiry. The payment is decided before anything is signed, as a payout is: freeze, withdrawal allow-list, first payment to a new destination, risk rules, the agent's mandates and budgets, approval. The merchant's host is the payee. A preview: every call answers 409 `capability_off` until agents paying is switched on and the wallet provider is connected.

Operations

Rewards and reporting

7 operations

What the platform pays on balances, and what this project has consumed against its plan.

Reference

Errors

112 codes.

Failures carry a stable code. Branch on that, never on the message — messages are written for people and will change.

Agents

Without a screen

Four ways to reach the same API. Each is made from this reference and none holds a credential of its own.

The API also describes itself for a model at https://api.skerry.xyz/llms.txt and for an agent that is about to act at https://api.skerry.xyz/agents.md: authentication, the order of calls for the common jobs, idempotency, approvals and every error. This site’s own llms.txt says where each of these is.

Start

Once you are signed in, a sandbox key takes a minute and needs no approval.

Machine-readable

The same reference as OpenAPI 3.1, for a generator or an agent.