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-lease.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

Example

JSON

{
  "BrokerProSubscription": {
    "IsActive": true,
    "Price": 10000.0
  },
  "CreditCard": {
    "Brand": "Brand",
    "CardholderName": "CardholderName",
    "ExpirationMonth": 4,
    "ExpirationYear": 6,
    "Last4Digits": "4444"
  }
}