Integrations
View as Markdown

Remove Stripe credentials for one mode

No API key can call this route. It needs a signed-in dashboard user with the right role; a key answers 403. About scopes

DELETE
/api/v1/gateway-credentials/stripe/{mode}

Authorization

Authorization
Required
Bearer <token>

An API key: gpy_test_… or gpy_live_… (or an agent key, agk_…).

In: header

Path Parameters

mode
Required
string

Value in: "test" | "live"
curl -X DELETE "https://globalymint.com/api/v1/gateway-credentials/stripe/test" \
  -H "Authorization: Bearer <token>"

Masked status for both modes after removal.

{
  "data": {
    "items": [
      {
        "mode": "test",
        "configured": true,
        "secretKeyHint": "string",
        "publishableKeyHint": "string",
        "hasWebhookSecret": true,
        "account_name": "string",
        "account_id_hint": "string",
        "verified_at": "string",
        "checked_at": "string",
        "webhook_registered": true,
        "webhook_reason": "string",
        "last_event_at": "string",
        "last_event_type": "string",
        "status": "connected",
        "reason": "string",
        "reason_code": "not_verified"
      }
    ]
  },
  "_agent": {
    "summary": "string",
    "status": "ok",
    "next_actions": [
      "string"
    ],
    "warnings": [
      "string"
    ]
  },
  "api_version": "2026-07-01"
}