APIPaymentsCreate the subscription for a user

Parameters

Name

Type

Req.

  • bodyapplication/json

    object
    optional
    Object Properties

Returns

  • 201 Created

    successful creation

    Name

    Type

    Req.

    body

    object
    optional
    Object Properties
post
/user/payment/subscriptions
$ curl -X POST "https://api.zoo.dev/user/payment/subscriptions" \
	--header "Authorization: Bearer $TOKEN" \
	--header "Content-Type: application/json" \
	--data '{
  "modeling_app": "pro",
  "pay_annually": true
}'
201 Created
Response
{
  "modeling_app": {
    "annual_discount": 3,
    "description": "P1G9w960fPxpdTGIs",
    "endpoints_included": [
      "ml"
    ],
    "features": [
      {
        "info": "nQ2ilEDyLe3bsx1npAcPFGuy5I1Nw"
      }
    ],
    "monthly_pay_as_you_go_api_credits": 27,
    "monthly_pay_as_you_go_api_credits_monetary_value": "84.55",
    "name": "team",
    "pay_as_you_go_api_credit_price": "10.05",
    "price": {
      "interval": "month",
      "price": "94.74",
      "type": "flat"
    },
    "share_links": [
      "organization_only"
    ],
    "support_tier": "standard_email",
    "training_data_behavior": "default_on",
    "type": {
      "type": "individual"
    },
    "zoo_tools_included": [
      "text_to_cad"
    ]
  }
}