Skip to main content

CostEnvelope

The itemized cost of one metered call, one CostLine per currency actually charged to the ledger, sorted by currency code. An empty array means metering ran and charged nothing.

  • Array [
  • currencystringrequired

    ISO 4217 currency code this line is denominated in.

    Possible values: Value must match regular expression ^[A-Z]{3}$

    royaltynumberrequired

    Royalty charged to the dataset or endpoint provider in this currency, 0 when none fired.

    alienFeenumberrequired

    Platform fee charged in this currency, 0 when none fired.

    totalnumberrequired

    royalty plus alienFee, in this currency.

  • ]
  • CostEnvelope
    [
    {
    "currency": "string",
    "royalty": 0,
    "alienFee": 0,
    "total": 0
    }
    ]