Sets the current billing plan for a business

Request

POST https://apimy.yourpayroll.io/api/v2/business/{businessId}/subscription/setbillingplan

Path parameters

Parameter name Value Description Additional
businessId int32 Required

Request body

The request body takes a complete SetBillingPlanRequestModel resource, containing the following writable properties:

{
    "billingPlanId": "int32"
}

Properties

Name Type Description
billingPlanId int32 Int32

Response

The following HTTP status codes may be returned, optionally with a response resource.

Status code Description Resource
200 OK

OK