API reference
Group Metadata
Payments API operations for Group Metadata.
These operations are generated from the Payments API Swagger document. Use the sandbox host https://api.dhangodemo.com while testing and https://api.dhango.com in production.
PUT /v1/groups/{groupKey}/metadata/flex
Replaces the Flex-domain metadata for a group (PMC).
| Parameter | In | Required | Description |
|---|---|---|---|
groupKey |
path | yes | The dhango-assigned group key (Group.Key). Stable across renames. |
Request body: FlexPmcModel.
FlexPmcModel
| Field | Type | Required | Description |
|---|---|---|---|
flexEnabled |
boolean | Indicates whether Flex is enabled for the PMC. Maps to the Flex flex_enabled field. |
Responses:
| Status | Description | Schema |
|---|---|---|
| 204 | No Content | |
| 400 | Bad Request | ValidationProblemDetails |
| 403 | Forbidden | ProblemDetails |
GET /v1/groups/{groupKey}/metadata/flex
Reads the Flex-domain metadata for a group (PMC).
| Parameter | In | Required | Description |
|---|---|---|---|
groupKey |
path | yes | The dhango-assigned group key (Group.Key). |
Responses:
| Status | Description | Schema |
|---|---|---|
| 200 | OK | FlexPmcModel |
| 403 | Forbidden | ProblemDetails |
| 404 | Not Found | ProblemDetails |
DELETE /v1/groups/{groupKey}/metadata/flex
Removes the Flex-domain metadata for a group (PMC).
| Parameter | In | Required | Description |
|---|---|---|---|
groupKey |
path | yes | The dhango-assigned group key (Group.Key). |
Responses:
| Status | Description | Schema |
|---|---|---|
| 204 | No Content | |
| 403 | Forbidden | ProblemDetails |