---
title: "Set Card Transaction Scenarios"
method: POST
path: "/open-api/v3/cards/{id}/consumption-scenarios"
tags: ["Common"]
---

# Set Card Transaction Scenarios

`POST /open-api/v3/cards/{id}/consumption-scenarios`

## Path parameters

- `id` string, uuid, required — The UUID of the card.

## Request body

- UpdateConsumptionScenarioReqDTO
  - `accountId` string, uuid, required — The UUID of the Account.
  - `scenes` integer[], required — Collection of IDs for Infinity Card transaction scenarios
  - `type` 'WHITE_LIST' | 'BLACK_LIST', required — Whitelist or blacklist

## Response `200`

OK

- CardSceneResponse — CardSceneResource
  - `code` string — Return code
  - `message` string — Error message
  - `data` CardSceneResource — Returned data
    - `id` string — The UUID of the card.
    - `accountId` string — The UUID of the Account.
    - `scenes` integer[] — Collection of IDs for Infinity Card transaction scenarios
    - `type` 'WHITE_LIST' | 'BLACK_LIST' — Whitelist or blacklist

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.dev/interlace/apis/core-resource.md) · [All operations](https://skmtc.dev/interlace/apis/core-resource/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/interlace/core-resource/revisions/29c08a4da357/schema)
