Close DICT refund
Transitions a refund OPEN→CLOSED with an analysisResult (TOTALLY_ACCEPTED|PARTIALLY_ACCEPTED|REJECTED) and reports it to BACEN.
Path Parameters
Body
closeRefund analysis body
Identifier of the devolucao this closure executed. Mandatory when analysisResult is TOTALLY_ACCEPTED or PARTIALLY_ACCEPTED, and must be the opposite message type from the contested transaction (a pacs.008 is refunded by a pacs.004 and vice-versa). Omit on a rejection.
"D1234567820260220123456789012345"
BACEN rejection reason; mandatory when analysisResult is REJECTED, omit when accepted. INVALID_REQUEST is admissible only when the refund's own reason is OPERATIONAL_FLAW (DICT 8.4 §17).
NO_BALANCE, ACCOUNT_CLOSURE, INVALID_REQUEST, OTHER "NO_BALANCE"
Response
OK
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"

