DocsTableau de bord

Connexions

Désactiver une connexion

POST/v1/connections/{id}/revokeconnections:write

Requires connections:write and a recent second factor. No new payment or refund goes through the connection; operations in flight still settle (reads and provider notifications of merchant-key connections are still accepted). Repeating the call returns the same result. Journaled as connection.revoked. The keys are kept: POST /v1/connections/{id}/reactivate undoes it. The authorization at the provider is not withdrawn by PayHaze.

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

200Réussi
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.