> For the complete documentation index, see [llms.txt](https://developer.branta.pro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.branta.pro/setup/receive/custom-integration/parent-platforms/shared-key.md). Agents can also search and read this documentation through its [MCP server](https://developer.branta.pro/~gitbook/mcp).

# Shared key

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

### Onboarding

Complete [Receive](https://developer.branta.pro/setup/receive.md) setup, then ask a Branta admin to turn on **Shared Key** for your platform.

{% hint style="info" %}
`child_platform` only takes effect once Branta has turned on **Shared Key** for your platform. Until then the field is ignored without an error, and the payment shows your own platform's name and logo instead of the brand. Confirm it is on before you test.
{% endhint %}

### Integrate

Install from the [SDK](https://developer.branta.pro/tech/sdk.md) page. Tag the brand with `setChildPlatform(name, logoUrl, logoLightUrl)` (or the language equivalent) when building the payment.

Or `POST` `/v2/payments` as shown under [Raw HTTP](https://developer.branta.pro/setup/receive/custom-integration.md#raw-http), and add a top-level `child_platform` object to the body. Encrypt destinations before you send them.

```json
"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. They are source URLs. Branta downloads each image once and serves its own hosted copy, so a lookup returns a Branta-hosted logo. The logo fields stay empty until that copy is ready, and they stay empty if the image cannot be fetched.

If you send only a name, the lookup returns that name with empty logo fields unless that brand already has a logo from an earlier payment. Branta does not substitute your platform's logo. 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` (the response field keeps its original name) — senders can optionally render that as a small secondary badge.

Full schema is on the [Receive](https://developer.branta.pro/tech/api/receive.md) reference.
