Skip to main content

S2.Margot.ClientApiContracts.Dto.PurchaseHistory

tenantIdinteger<int32>
activeProducts object[]nullable
  • Array [
  • ownedProductIdinteger<int32>
    namestringnullable
    productIdinteger<int32>
    durationCountinteger<int32>nullable
    durationTypestringnullable
    productTypestringnullable
    qtyinteger<int32>
    tenantIdinteger<int32>
    priceinteger<int32>
    fullProductPriceinteger<int32>
    statusstringnullable
    effectiveAtstring<date-time>
    effectiveThroughstring<date-time>nullable
    supplementalFeatureQtynumber<double>nullable
    tagstringnullable
    renewalProductIdinteger<int32>nullable
    renewalProductNamestringnullable
    renewalProductPriceinteger<int32>nullable
    renewalEffectiveAtstring<date-time>nullable
    renewalEffectiveThroughstring<date-time>nullable
  • ]
  • products object[]nullable
  • Array [
  • ownedProductIdinteger<int32>
    namestringnullable
    productIdinteger<int32>
    durationCountinteger<int32>nullable
    durationTypestringnullable
    productTypestringnullable
    qtyinteger<int32>
    tenantIdinteger<int32>
    priceinteger<int32>
    fullProductPriceinteger<int32>
    statusstringnullable
    effectiveAtstring<date-time>
    effectiveThroughstring<date-time>nullable
    supplementalFeatureQtynumber<double>nullable
    tagstringnullable
    renewalProductIdinteger<int32>nullable
    renewalProductNamestringnullable
    renewalProductPriceinteger<int32>nullable
    renewalEffectiveAtstring<date-time>nullable
    renewalEffectiveThroughstring<date-time>nullable
  • ]
  • payments object[]nullable
  • Array [
  • idinteger<int32>
    ownedProductIdinteger<int32>
    ownedProductNamestringnullable
    amountinteger<int32>
    paymentInstrumentIdstringnullable
    messagestringnullable
    succeededAtstring<date-time>nullable
    failedAtstring<date-time>nullable
    failureMessagestringnullable
    createdAtstring<date-time>
    paymentIntentIdstringnullable
    stripeRefundIdstringnullable
  • ]
  • S2.Margot.ClientApiContracts.Dto.PurchaseHistory
    {
    "tenantId": 0,
    "activeProducts": [
    {
    "ownedProductId": 0,
    "name": "string",
    "productId": 0,
    "durationCount": 0,
    "durationType": "string",
    "productType": "string",
    "qty": 0,
    "tenantId": 0,
    "price": 0,
    "fullProductPrice": 0,
    "status": "string",
    "effectiveAt": "2024-07-29T15:51:28.071Z",
    "effectiveThrough": "2024-07-29T15:51:28.071Z",
    "supplementalFeatureQty": 0,
    "tag": "string",
    "renewalProductId": 0,
    "renewalProductName": "string",
    "renewalProductPrice": 0,
    "renewalEffectiveAt": "2024-07-29T15:51:28.071Z",
    "renewalEffectiveThrough": "2024-07-29T15:51:28.071Z"
    }
    ],
    "products": [
    {
    "ownedProductId": 0,
    "name": "string",
    "productId": 0,
    "durationCount": 0,
    "durationType": "string",
    "productType": "string",
    "qty": 0,
    "tenantId": 0,
    "price": 0,
    "fullProductPrice": 0,
    "status": "string",
    "effectiveAt": "2024-07-29T15:51:28.071Z",
    "effectiveThrough": "2024-07-29T15:51:28.071Z",
    "supplementalFeatureQty": 0,
    "tag": "string",
    "renewalProductId": 0,
    "renewalProductName": "string",
    "renewalProductPrice": 0,
    "renewalEffectiveAt": "2024-07-29T15:51:28.071Z",
    "renewalEffectiveThrough": "2024-07-29T15:51:28.071Z"
    }
    ],
    "payments": [
    {
    "id": 0,
    "ownedProductId": 0,
    "ownedProductName": "string",
    "amount": 0,
    "paymentInstrumentId": "string",
    "message": "string",
    "succeededAt": "2024-07-29T15:51:28.071Z",
    "failedAt": "2024-07-29T15:51:28.071Z",
    "failureMessage": "string",
    "createdAt": "2024-07-29T15:51:28.071Z",
    "paymentIntentId": "string",
    "stripeRefundId": "string"
    }
    ]
    }