---
title: "Create a sponsor configuration"
method: POST
path: "/v1/domains/{domainId}/account/{accountId}/sponsor"
tags: ["Gas station"]
---

# Create a sponsor configuration

`POST /v1/domains/{domainId}/account/{accountId}/sponsor`

## Path parameters

- `domainId` string, required
- `accountId` string, required

## Request body

- GasStationCreateSponsorDto
  - `type` 'domain' | 'account' | 'none', required — Type of sponsorship
  - `accountIds` string[] — Array of account UUIDs to sponsor
  - `includeSubDomains` boolean, required — Include subdomains in sponsorship
  - `alertLimit` GasStationAlertLimitDto[], required — Alert thresholds per ticker
    - `tickerId` string, required — Ticker/token UUID
    - `amount` string, required — Alert threshold amount
  - `userId` string — UUID of the user performing the action; recorded on the audit trail. Optional — only honored when the caller is a service principal; otherwise the authenticated user from the JWT is used.

## Response `201`

Sponsor created

- GasStationSponsorCreatedResponseDto
  - `id` string, required
  - `status` string, required
  - `createdAt` string, required

## Other responses

- `400` — Bad request
- `409` — Sponsor already exists

---

[API](https://skmtc.net/ripple/apis/ripple-custody-api.md) · [All operations](https://skmtc.net/ripple/apis/ripple-custody-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ripple/ripple-custody-api/revisions/410038300d74/schema)
