{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/meld/json-schema/meld-virtual-account-deposit-instructions-request-schema.json",
  "title": "VirtualAccountDepositInstructionsRequest",
  "description": "Request to provision or retrieve standing virtual-account deposit instructions",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/meld-headless-api-openapi.yml#/components/schemas/VirtualAccountDepositInstructionsRequest",
  "type": "object",
  "properties": {
    "customerId": {
      "type": "string",
      "description": "Meld customer id",
      "minLength": 1
    },
    "customerPhoneNumber": {
      "type": "string",
      "description": "Customer phone number — required when paymentMethodType is MOBILE_MONEY and the provider requires it"
    },
    "destinationCurrencyCode": {
      "type": "string",
      "description": "Destination cryptocurrency code",
      "minLength": 1
    },
    "destinationWalletAddress": {
      "type": "string",
      "description": "Wallet address that will receive the purchased cryptocurrency",
      "minLength": 1
    },
    "paymentMethodType": {
      "type": "string",
      "description": "Desired type of virtual account to create for sending the fiat currency to",
      "enum": [
        "ACH",
        "SEPA",
        "PIX",
        "MOBILE_MONEY"
      ]
    },
    "serviceProvider": {
      "type": "string",
      "description": "Service provider used for creating the virtual deposit account",
      "enum": [
        "NOAH",
        "DUENETWORK"
      ]
    },
    "sourceCurrencyCode": {
      "type": "string",
      "description": "Source fiat currency code",
      "minLength": 1
    }
  },
  "required": [
    "customerId",
    "destinationCurrencyCode",
    "destinationWalletAddress",
    "paymentMethodType",
    "serviceProvider",
    "sourceCurrencyCode"
  ]
}