Astrocal
API ReferenceStripeV1StripeDisconnect

Disconnect Stripe account

Deauthorizes the Stripe Connect account and removes the connection.

DELETE
/v1/stripe/disconnect

Authorization

BearerAuth
AuthorizationBearer <token>

API key authentication. Use your API key as the bearer token.

In: header

Response Body

application/json

application/json

application/json

curl -X DELETE "https://example.com/v1/stripe/disconnect"
{
  "disconnected": true,
  "message": "string"
}
{
  "error": {
    "code": "string",
    "message": "string",
    "details": {
      "property1": null,
      "property2": null
    }
  }
}
{
  "error": {
    "code": "string",
    "message": "string",
    "details": {
      "property1": null,
      "property2": null
    }
  }
}