APIPaymentsCreate the subscription for a user

Parameters

Name

Type

Req.

  • bodyapplication/json

    object
    optional
    Object Properties

Returns

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": "free",
  "pay_annually": false
}'
201 Created
Response
{
  "modeling_app": {
    "annual_discount": 26,
    "description": "u",
    "endpoints_included": [
      "modeling"
    ],
    "features": [
      {
        "info": "AE1GGGPNCXO2bycXCZsa8bAnGWKNfekIVX8q3CceD7t6N7272Z61XMmcyZn"
      }
    ],
    "monthly_pay_as_you_go_api_credits": 18,
    "monthly_pay_as_you_go_api_credits_monetary_value": "89.20",
    "name": "team",
    "pay_as_you_go_api_credit_price": "24.98",
    "price": {
      "type": "enterprise"
    },
    "share_links": [
      "password_protected"
    ],
    "support_tier": "priority",
    "training_data_behavior": "default_on",
    "type": {
      "type": "individual"
    },
    "zoo_tools_included": [
      "modeling_app"
    ]
  }
}