Connexions
Supprimer une connexion
DELETE/v1/connections/{id}connections:write
Requires connections:write and the second factor when the account has one. Only a deactivated connection with no payment or refund in flight (409 connection_active or connection_busy otherwise). The connection leaves the list and its sealed keys are erased; payments and refunds that went through it stay in the history. Stripe: PayHaze removes its notification address from the merchant account when it can. Connecting the same account again brings the connection back. Journaled as connection.deleted.
En-têtes
AuthorizationBearer pos_key_…obligatoire- Clé de serveur, pour tout l’espace. Jamais dans un navigateur.
X-Merchant-IDstringobligatoire- L’espace marchand concerné (mrc_…).
Paramètres
iddans le cheminobligatoire
Réponses
- 204Fait
- 400Requête invalide
- 401Clé absente ou invalide
- 403Autorisation ou espace refusé
- 404Ressource introuvable
- 409Conflit avec une demande existante
- 429Trop de demandes, réessayez plus tard
- 503Service momentanément indisponible
Une erreur ne vaut jamais paiement. Le corps donne code, message, request_id et retry_action ; renvoyez la même Idempotency-Key si retry_action le propose.