PayHazeDocsTableau de bord

Rapprochement

Récupérer un rapport

POST/v1/reconciliation/imports/fetchreconciliation:write

Needs reconciliation:write. Only the local simulator hands its settlement report to PayHaze (Stripe balance format, fixture fee 1.4 % + 0.25 EUR per capture); a real provider answers 409 report_fetch_unavailable: export the report there and import the file. The import is stored with source api and follows the same rules as a file.

En-têtes

AuthorizationBearer pos_test_…obligatoire
Clé de serveur. Jamais dans un navigateur.
X-Merchant-IDstringobligatoire
L’espace marchand concerné (mrc_…).
X-Environment"test"obligatoire
Seule valeur acceptée tant que la production n’est pas ouverte.

Corps

connection_idstringobligatoire
fromstringobligatoire
tostringobligatoire

Réponses

201Créé
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
500Request rejected; no success is implied.
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.