external-platform

Get Stripe Status

Get Stripe connection status with optional health check.

Stripe tokens don't expire but can be revoked. Use check_health=true to verify the token is still valid by making a live API call.

Args: check_health: If true, perform a live API call to verify token validity

get/api/external-platform/stripe/status

Request

  • Base URL: https://api.usepomo.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.usepomo.ai/api/external-platform/stripe/status
  • Auth: HTTP bearer

Query parameters

check_healthboolean

Perform live health check

Response

Successful Response

connectedboolean required

Whether the platform is connected

healthyboolean

Whether the token is healthy (passed API check)

health_messagestring nullable

Health check result message

account_idstring nullable

Platform-specific account identifier

account_namestring nullable

Display name for the account

token_expires_soonboolean

Whether token expires within buffer period

last_health_checkstring nullable

ISO timestamp of last health check

business_namestring nullable

Business name

livemodeboolean nullable

Whether Stripe is in live mode

charges_enabledboolean nullable

Whether charges are enabled

Example response

{
  "account_id": "shop_12345",
  "account_name": "My Store",
  "connected": true,
  "health_message": "Token is valid",
  "healthy": true,
  "last_health_check": "2024-01-15T10:30:00Z",
  "token_expires_soon": false
}

Changes

No recorded changes to this operation across all 1 revision of this API.