Subscriptions

Subscribe account to subscritpion plan

Changed on
post/subscriptions/

Request

  • The document declares no server URL.
  • Auth: one of:
    • HTTP bearer
    • API key in header x-pollination-token

Request body

typestring

A base class to use when there is no baseclass available to fall on.

accountstring required

The name of the account to create subscription for

plan_idinteger required

The ID of the plan to subscribe to

quantityinteger

The number of subscriptions to create

Response

Successful Response

typestring

A base class to use when there is no baseclass available to fall on.

urlstring required

Changes

    • breaking

      response property detail/items/loc/items/ list-of-types was widened by adding types integer to media type application/json of response 422

    • info

      the response's property default value changed from PayLink to app__server__rest__subscriptions__dto__PayLink for the status

    • info

      the / response's property pattern was changed from ^PayLink$ to ^app__server__rest__subscriptions__dto__PayLink$ for the status

    • info

      endpoint added