Brindlemark Sandbox API · Reference

Changelog

What changed in the sandbox, release by release, and what counts as a breaking change.

Fictional sandbox. An independent demonstration with fictional data. It isn’t affiliated with or endorsed by Swan or any bank, and it isn’t legal advice.

The sandbox has one version at a time. This page lists each release, newest first, with what changed for your code.

1.0.0: 30 November 2026#

The first release.

  • Authentication. OAuth 2.0 client credentials at POST /oauth/token, with the secret in the form or in an HTTP Basic header. Tokens last 3,600 seconds. Errors: invalid_client, unsupported_grant_type and invalid_request.
  • Account holders. onboardCompany registers a company with its verification PENDING. sandboxSetVerificationStatus ends it as VERIFIED or REFUSED.
  • Payment accounts. openAccount, for verified account holders only, with a fictional IBAN that starts with ZZ, an available balance and a booked balance. sandboxCreditAccount adds money.
  • Payments. initiateCreditTransfer sends SEPA credit transfers, SCT or SCT_INST, in euros, with an idempotency key. It checks the amount, the currency and the creditor's IBAN, including its ISO 13616 check digits, and the available balance. Payments go from INITIATED to PENDING, then BOOKED or REJECTED; sandboxSettlePayment decides which.
  • Webhooks. An event for each status change of an account holder or a payment, sent to WEBHOOK_URL, signed with HMAC-SHA256 over the timestamp, a dot and the body. Failed deliveries are tried again after 10, 60 and 300 seconds. sandboxResendWebhookEvent sends an event again. webhookEvents and webhookEvent read what was sent.
  • Problems. Fourteen problem types, each in the union of the mutations that can return it. See Errors and Troubleshooting.

What Counts as a Breaking Change#

A breaking change is one that can stop working code. A release with one raises the first number of the version, and says what to change in your code.

Change Breaking
Removing or renaming a type, field, argument or enum value Yes
Making an optional argument or input field required Yes
Changing a field's type, or letting a non-null field return null Yes
Changing what an existing field means, or a status a payment can reach Yes
Changing how webhook payloads are signed Yes
Adding a type, a query, a mutation, an optional argument or a field No
Adding a value to an enum, or a problem type to a union No, with care: see below
Adding a field to a webhook payload, or a new event type No, with care: see below
Changing the text of a message No, with care: see below

Three changes that aren't breaking still need care in your code:

  • A new enum value or problem type. Handle values you don't know: show message for a problem type your code doesn't have a branch for, as Errors and Troubleshooting shows.
  • A new field in a webhook payload, or a new event type. Ignore what you don't use, and answer 200 to an event type you don't handle, rather than refusing it.
  • The text of a message. Messages are for people. Branch on __typename and the problem's fields, never on its wording.

Deprecations#

A field that will go is marked @deprecated in the schema, with the reason and what replaces it, at least one release before it goes. Introspection shows the mark, so GraphQL clients and linters can warn you. Nothing is deprecated in 1.0.0.

How This Page Is Kept True#

The build of this site compares every example on these pages with the sandbox's answer, byte for byte, and stops if one differs. So a change to the sandbox that changes an answer can't be published until the pages show the new answer. The build doesn't check this page: the rule is that the release that changes an answer adds an entry here that says why.