DocsTableau de bord

Litiges

Accepter un litige

POST/v1/disputes/{id}/acceptpayments:write

Requires payments:write. Cookie mutations require CSRF. Closes the dispute at the provider in the buyer's favour; no evidence can follow and the provider's dispute fee stays due. 409 dispute_not_answerable once the dispute no longer waits on the merchant (needs_response or warning_needs_response); 422 provider_unsupported when the provider's disputes are answered in its own dashboard; 422 provider_credentials_rejected when the provider refuses the connection's keys; 503 provider_unavailable when the provider cannot be reached or answers about another payment: nothing is recorded. Journaled as dispute.accepted.

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.