GET account/billing

Get billing status of the current user. Includes credit card info and info on active purchases and subscriptions

Request

URL ( requires authentication )

https://api.crexi.com/account/billing

Response

Details

Returns an HTTP 200 OK response code and billing status. Returns a 401 Unauthorized status code and an error message if not.

Data fields

BrokerProSubscription

SubscriptionData

CreditCard

CreditCardData

MarketReportPurchases

Collection of BillingMarketReportData

MarketReportSubscription

SubscriptionData

Example

JSON

{
  "BrokerProSubscription": {
    "IsActive": true,
    "PlanName": "test_pro_100",
    "Price": 10000.0,
    "UpcomingInvoiceDate": "2019-06-12T11:38:42.8216344Z"
  },
  "CreditCard": {
    "Brand": "Brand",
    "CardholderName": "CardholderName",
    "ExpirationMonth": 4,
    "ExpirationYear": 6,
    "IsExpired": false,
    "Last4Digits": "4444"
  },
  "MarketReportPurchases": [
    {
      "AssetType": "Hospitality",
      "ExpiresOn": "2018-02-03T10:30:00",
      "MarketReportId": 1,
      "PurchasedOn": "2017-02-03T09:30:00"
    },
    {
      "AssetType": "Industrial",
      "ExpiresOn": "2018-12-22T15:00:00",
      "MarketReportId": 2,
      "PurchasedOn": "2017-04-03T07:00:00"
    }
  ],
  "MarketReportSubscription": {
    "IsActive": true,
    "PlanName": "test_pro_100",
    "Price": 10000.0,
    "UpcomingInvoiceDate": "2019-06-12T11:38:42.8216344Z"
  }
}