{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rubin-trade/json-schema/rubin-trade-post-v4-cards-orders-request-schema.json",
  "title": "PostV4CardsOrdersRequest",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/rubin-trade-openapi-generated.yml#/components/schemas/PostV4CardsOrdersRequest",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "description": "always withdraw , issue or topup"
    },
    "feeId": {
      "type": "number",
      "description": "issue Tariff"
    },
    "cardId": {
      "type": "string",
      "description": "topup , withdraw Card"
    },
    "amountUsd": {
      "type": "string",
      "description": "topup , withdraw USD, up to 2 decimals"
    },
    "clientId": {
      "type": "string",
      "description": "Your unique id, up to 64 characters."
    },
    "expectedTotalUsdc": {
      "type": "string",
      "description": "The price you showed; if it differs, answers 409"
    }
  },
  "required": [
    "type"
  ]
}