---
# @generated by sylphx-gen. Do not edit.
title: "Configure a reseller channel"
description: "`money.reseller_channels.configure` (POST /v1/{name}:configure): ConfigureResellerChannel registers a channel or replaces its key bindings and offers."
type: reference
product: payments
summary: "ConfigureResellerChannel registers a channel or replaces its key bindings and offers."
nav: false
---

ConfigureResellerChannel registers a channel or replaces its key bindings and offers.

- **Path** `POST https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/reseller_channels/reseller-channel:configure`
- **Scope** `money:partner_channels:configure`
- **Effect** `write` — a successful call changes state.
- **Collection** [reseller_channels](/docs/api/reseller_channels)

## Request

| Field | Type | What it is |
| --- | --- | --- |
| `name` | `string` | Canonical resource name. Required. |
| `channel` | `ResellerChannel` | Provider-controlled channel configuration. Required. |

### ResellerChannel

| Field | Type | What it is |
| --- | --- | --- |
| `name` | `string` | Canonical resource name. |
| `provider_entity_id` | `string` | Legal provider that owns this channel and its orders. Required. |
| `key_ids` | `string[]` | Exact Access secret key IDs authorized on this channel. Empty suspends partner calls. Required. |
| `webhook_uri` | `string` | Canonical HTTPS URI of the already registered Events endpoint for this channel. Required. |
| `offers` | `ResellerOffer[]` | Published prices authorized for this reseller and their wholesale floors. |

### ResellerOffer

| Field | Type | What it is |
| --- | --- | --- |
| `price_key` | `string` | Price key from the environment catalog. Required. |
| `hard_cogs_floor_minor` | `map<string, string>` | Wholesale floor by currency, as decimal minor-unit strings. Required. |

## Response

| Field | Type | What it is |
| --- | --- | --- |
| `name` | `string` | Canonical resource name. |
| `uid` | `string` | Immutable resource identifier. Output only. |
| `meta` | `ResourceMeta` | Resource metadata. Output only. |
| `provider_entity_id` | `string` | Legal provider that owns this channel and its orders. Required. |
| `key_ids` | `string[]` | Exact Access secret key IDs authorized on this channel. Empty suspends partner calls. Required. |
| `webhook_uri` | `string` | Canonical HTTPS URI of the already registered Events endpoint for this channel. Required. |
| `offers` | `ResellerOffer[]` | Published prices authorized for this reseller and their wholesale floors. |

### ResourceMeta

| Field | Type | What it is |
| --- | --- | --- |
| `generation` | `int64` | Increases by one on every change to `spec`. Output only. |
| `etag` | `string` | Strong ETag (AIP-154): changes on any change to spec, status, or metadata. Send it back as `If-Match` or `etag` to make Update and Delete conditional; a mismatch fails with ABORTED / 409 `ETAG_MISMATCH`. Output only. |
| `create_time` | `timestamp` | When the Resource was created. Output only. |
| `update_time` | `timestamp` | When the Resource last changed. Output only. |
| `delete_time` | `timestamp` | Set while the Resource is being deleted. Output only. |
| `labels` | `map<string, string>` | Caller-writable, indexed labels (AIP-122 label rules). |
| `annotations` | `map<string, string>` | Caller-writable, unindexed annotations. |
| `display_name` | `string` | Caller-writable human-readable name. |
| `creator` | `string` | The principal that created the Resource. Output only. |

### ResellerOffer

| Field | Type | What it is |
| --- | --- | --- |
| `price_key` | `string` | Price key from the environment catalog. Required. |
| `hard_cogs_floor_minor` | `map<string, string>` | Wholesale floor by currency, as decimal minor-unit strings. Required. |

## Errors

- [`PERMISSION_DENIED`](/docs/api/errors/PERMISSION_DENIED) — The key lacks the method's permission.
- [`RESOURCE_NOT_FOUND`](/docs/api/errors/RESOURCE_NOT_FOUND) — The named Resource does not exist or is not visible.
- [`INVALID_FIELD`](/docs/api/errors/INVALID_FIELD) — A field failed validation.
- [`FAILED_PRECONDITION`](/docs/api/errors/FAILED_PRECONDITION) — A released manifest owns a requested resource field. Change the declaration in the named file and key path, then release.
- [`RESOURCE_IN_USE`](/docs/api/errors/RESOURCE_IN_USE) — The Resource is attached to or held by another Resource, for example a volume attached to a running lease.
- [`RESOURCE_ALREADY_EXISTS`](/docs/api/errors/RESOURCE_ALREADY_EXISTS) — A Resource with this name exists.
- [`IDEMPOTENCY_KEY_REUSED`](/docs/api/errors/IDEMPOTENCY_KEY_REUSED) — An Idempotency-Key was reused with another body.
- [`UNAVAILABLE`](/docs/api/errors/UNAVAILABLE) — The Resource store, the owning service's backend, or the key verifier's snapshot is unavailable; retry after Retry-After.

Every error arrives in the body [Errors](/docs/platform/errors) describes.

## Examples

**cURL**

```curl
curl -X POST "https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/reseller_channels/reseller-channel:configure" \
  -H "Authorization: Bearer $SYLPHX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"channel":{"key_ids":["…"],"provider_entity_id":"…","webhook_uri":"…"}}'
```

**TypeScript**

```ts
const response = await sylphx.money.resellerChannels.configure({ channel: { keyIds: ['…'], providerEntityId: '…', webhookUri: '…' }, name: 'orgs/acme/projects/shop/envs/production/reseller_channels/reseller-channel' })
```

**Rust**

```rust
let mut req = sylphx::money::ConfigureResellerChannelRequest::default();
req.channel = Some(sylphx::money::ResellerChannel {
    key_ids: vec!["…".to_string()],
    provider_entity_id: "…".to_string(),
    webhook_uri: "…".to_string(),
    ..Default::default()
});
req.name = "orgs/acme/projects/shop/envs/production/reseller_channels/reseller-channel".to_string();
let response = sx.money().reseller_channels().configure(req).await?;
```

**CLI**

```bash
sylphx money reseller-channels configure orgs/acme/projects/shop/envs/production/reseller_channels/reseller-channel
```

**MCP**

```json
{ "method_id": "money.reseller_channels.configure", "args": {"channel":{"key_ids":["…"],"provider_entity_id":"…","webhook_uri":"…"},"name":"orgs/acme/projects/shop/envs/production/reseller_channels/reseller-channel"} }
```
