Business Disconnect Stripe

Disconnect Stripe Account from this Business.

Parameters
  • idpath integerRequired

    Disconnect Stripe Account from this Business by specific business id. You can retrieve this id from ...

  • data[id]formData stringRequired

    Provide Business id.

  • data[type]formData string

    Provide Business type. Current selection is only businesses.

PATCH/api/v1/businesses/{id}/disconnect_stripe

{
  const res = await fetch(`${BASE_URL}/api/v1/businesses/${id}/disconnect_stripe`, {
    method: 'PATCH',
    headers: {
      'Content-Type': 'application/json'
    },
    body: JSON.stringify({
      id: '1231',
      data: {
        id: '1231 ',
        type: 'businesses'
      }
    })});
  const data = await res.json();
}

RESPONSE