---
title: "Link a stablecoin provider account"
method: POST
path: "/stablecoin-provider-accounts"
tags: ["Stablecoins"]
---

# Link a stablecoin provider account

`POST /stablecoin-provider-accounts`

Link provider API credentials for the authenticated platform. Provider credentials are account-scoped and can be reused for multiple stablecoins. Currently, the only supported provider is `BRALE`; the provider environment is derived from the authenticated Grid platform mode.

## Headers

- `Idempotency-Key` string, required

## Request body

- StablecoinProviderAccountLinkRequest
  - `provider` 'BRALE', required — Stablecoin provider backing the linked account, stablecoin, or operation.
  - `apiClientId` string, required — Provider API client id used to verify and link the provider account.
  - `apiClientSecret` string, required — Provider API client secret. Grid verifies and stores this secret encrypted; it is never returned.
  - `providerAccountId` string — Provider account id. Optional when the submitted credentials expose exactly one provider account.

## Response `201`

Stablecoin provider account linked

- StablecoinProviderAccount
  - `id` string, required — System-generated stablecoin provider account link identifier.
  - `provider` 'BRALE', required — Stablecoin provider backing the linked account, stablecoin, or operation.
  - `providerAccountId` string, required — Provider account id.
  - `providerEnvironment` 'SANDBOX' | 'PRODUCTION', required — Provider environment derived from the authenticated Grid platform mode.
  - `status` 'ACTIVE' | 'INVALID' | 'REVOKED', required — Status of the linked stablecoin provider account credentials.
  - `lastVerifiedAt` string, date-time — Timestamp of the last successful provider credential verification.
  - `createdAt` string, date-time, required — Creation timestamp.
  - `updatedAt` string, date-time, required — Last update timestamp.

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `409` — Conflict
- `500` — Internal service error

---

[API](https://skmtc.net/stainless-api/apis/grid-api.md) · [All operations](https://skmtc.net/stainless-api/apis/grid-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/stainless-api/grid-api/versions/526036c12609/schema)
