For the complete documentation index, see llms.txt. This page is also available as Markdown.

Shared key

One Branta platform and one API key. Tag each payment with the brand it belongs to.

One Branta platform and one API key covering every brand you serve. Tag each payment with the brand at publish time; Branta renders that name and logo to senders.

Onboarding

Complete Receive setup, then ask a Branta admin to turn on shared-key access.

Integrate

Install from the SDK page. Tag the brand with setChildPlatform(name, logoUrl, logoLightUrl) (or the language equivalent) when building the payment.

Or POST /v2/payments with your API key in Authorization: Bearer … and a top-level child_platform object. Encrypt destinations before you send them — a send lookup of a bare address is unknown.

curl -X POST https://guardrail.branta.pro/v2/payments \
  -H "Authorization: Bearer $BRANTA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "destinations": [
      {
        "value": "<ciphertext>",
        "type": "bitcoin_address",
        "primary": true,
        "zk": true
      }
    ],
    "child_platform": {
      "name": "Acme Coffee",
      "logo_url": "https://example.com/acme-logo.png",
      "logo_light_url": "https://example.com/acme-logo-light.png"
    }
  }'

child_platform.name is required; logo_url and logo_light_url are both optional. On lookup, a payment with a tagged brand returns that brand as the primary platform / platform_logo_url fields, and your own platform's branding under parent_platform — senders can optionally render that as a small secondary badge.

Full schema is on the Receive reference.

Last updated