Create DICT refund
Persists a DICT refund request locally and submits the corresponding BACEN refund synchronously-after-persist, tracked by request_id; report_status is SENT at rest.
Corpo
DICT refund request reported to BACEN first; only a CONFIRMED report is persisted locally — a rejection or ambiguous outcome creates no local row. Tracked by report_status=SENT + a durable operation intent (operationId) while pending.
Identifier of the transaction to refund: the EndToEndID of the payment (pacs.008, E-prefixed), or the RtrId of the return operation being contested (pacs.004, D-prefixed — DICT 8.4 §20.1.9). BACEN's field overloads both message types; the prefix discriminates, and the shape is BACEN's InstrId2Type. The message-type letter must be upper case; the 11-character tail is case-insensitive. The date and minute components are additionally parsed as a real instant by the service.
^[ED][0-9A-Z]{8}[0-9]{12}[a-zA-Z0-9]{11}$"E12345678202607101200D3E4F5A6B7C"
Resposta
Created
Persisted local DICT refund request record, or {operationId, operationStatus} while BACEN's outcome is pending (202).
Durable operation-intent status. Always COMPLETED on a synchronous 200/201; on a pending 202 it is never REJECTED or LOCAL_FAILURE — both are BACEN-final/local-final outcomes mapped to their own HTTP status instead of a 202.
RESERVED, SUBMITTED, CONFIRMED, SYNC_PENDING, UNKNOWN_OUTCOME, MANUAL_REVIEW, COMPLETED "UNKNOWN_OUTCOME"

