---
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

## Changes

- **2026-08-14** `aaa1fb8782c8` — 1 warning
  - added the new `EXTERNAL_ACCOUNT_VERIFICATION_REQUIRED` enum value to the `code` response property for the response status `400`
- **2026-08-13** `df12ec487f0e` — 1 warning
  - added the new `TRANSACTION_SIZE_LIMIT_EXCEEDED` enum value to the `code` response property for the response status `400`
- **2026-08-11** `b06902b6595a` — 4 warning
  - added the new `CARDHOLDER_KYC_NOT_APPROVED` enum value to the `code` response property for the response status `400`
  - added the new `CARD_ALREADY_CLOSED` enum value to the `code` response property for the response status `409`
  - added the new `CARD_NOT_MUTABLE` enum value to the `code` response property for the response status `409`
  - added the new `INVALID_STATE_TRANSITION` enum value to the `code` response property for the response status `409`
- **2026-08-06** `526036c12609` — 1 warning
  - added the new `END_USER_TERMS_VERSION_NOT_FOUND` enum value to the `code` response property for the response status `400`
- **2026-07-31** `b21ed434ee6e` — 2 warning, 1 info
  - added the new `BENEFICIARY_TRUSTED` enum value to the `code` response property for the response status `409`
  - added the new `SCA_SESSION_REQUIRED` enum value to the `code` response property for the response status `409`
  - added the optional property `details/errors` to the response with the `400` status

[Full history](https://skmtc.dev/stainless-api/apis/grid-api/changes/stablecoin-provider-accounts/post.md)

---

[API](https://skmtc.dev/stainless-api/apis/grid-api.md) · [All operations](https://skmtc.dev/stainless-api/apis/grid-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/stainless-api/grid-api/revisions/2ec84c06fbec/schema)
