PayHazeDocsTableau de bord

Console des opérateurs PayHaze

Approuver ou refuser

POST/v1/platform/requests/{id}/decide

PayHaze operators only: browser session of a platform operator with a recent second factor; no API key, no merchant role. By another operator than the one who asked; a refusal needs a reason. Approving applies the action and writes it in both journals. Origin must be the dashboard and X-CSRF-Token the session's.

Paramètres

iddans le cheminobligatoire

Corps

approvebooleanobligatoire
reasonstring, 3 à 300

Réponses

200Réussi
400Requête invalide
403Autorisation ou espace refusé
404Ressource introuvable
409Conflit avec une demande existante
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.