If the parent account is PAID, do nothing and return paid = true. If parent account is FREE, disassociate the user and return paid = false.

Examples

REQUEST
Authorization: Bearer <service jwt>
Content-Type: application/json
{
  "partner_account_id": "12345",
  "user_id": "1"
}
RESPONSE
200 (OK)
{
  "paid": false
}

Params

Param name Description
partner_account_id
required

partner account id

Validations:

  • Must be a String

user_id
required

ID of user to be disassociated

Validations:

  • Parameter has to be Integer.