Bunq · Schema

BillingContractSubscription

Banking

Properties

Name Type Description
subscription_type string The subscription type of the user. Can be one of PERSON_SUPER_LIGHT_V1, PERSON_LIGHT_V1, PERSON_MORE_V1, PERSON_FREE_V1, PERSON_PREMIUM_V1, COMPANY_V1, or COMPANY_V2.
id integer The id of the billing contract.
created string The timestamp when the billing contract was made.
updated string The timestamp when the billing contract was last updated.
contract_date_start string The date from when the billing contract is valid.
contract_date_end string The date until when the billing contract is valid.
contract_version integer The version of the billing contract.
subscription_type_downgrade string The subscription type the user will have after a subscription downgrade. Will be null if downgrading is not possible.
status string The subscription status.
sub_status string The subscription substatus.
View JSON Schema on GitHub

JSON Schema

bunq-billingcontractsubscription-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/BillingContractSubscription",
  "title": "BillingContractSubscription",
  "type": "object",
  "properties": {
    "subscription_type": {
      "type": "string",
      "description": "The subscription type of the user. Can be one of PERSON_SUPER_LIGHT_V1, PERSON_LIGHT_V1, PERSON_MORE_V1, PERSON_FREE_V1, PERSON_PREMIUM_V1, COMPANY_V1, or COMPANY_V2.",
      "readOnly": false,
      "writeOnly": false
    },
    "id": {
      "type": "integer",
      "description": "The id of the billing contract.",
      "readOnly": true,
      "writeOnly": false
    },
    "created": {
      "type": "string",
      "description": "The timestamp when the billing contract was made.",
      "readOnly": true,
      "writeOnly": false
    },
    "updated": {
      "type": "string",
      "description": "The timestamp when the billing contract was last updated.",
      "readOnly": true,
      "writeOnly": false
    },
    "contract_date_start": {
      "type": "string",
      "description": "The date from when the billing contract is valid.",
      "readOnly": true,
      "writeOnly": false
    },
    "contract_date_end": {
      "type": "string",
      "description": "The date until when the billing contract is valid.",
      "readOnly": true,
      "writeOnly": false
    },
    "contract_version": {
      "type": "integer",
      "description": "The version of the billing contract.",
      "readOnly": true,
      "writeOnly": false
    },
    "subscription_type_downgrade": {
      "type": "string",
      "description": "The subscription type the user will have after a subscription downgrade. Will be null if downgrading is not possible.",
      "readOnly": true,
      "writeOnly": false
    },
    "status": {
      "type": "string",
      "description": "The subscription status.",
      "readOnly": true,
      "writeOnly": false
    },
    "sub_status": {
      "type": "string",
      "description": "The subscription substatus.",
      "readOnly": true,
      "writeOnly": false
    }
  }
}