Close Unsettled TED IN Credit
Use this endpoint to record where an unsettled inbound credit actually went, after a person moved it by hand. An inbound credit is unsettled when its message carries an open retention (neither credited nor returned), or when its devolution sits in RETAINED (a return that the tenant never authorized) or FAILED (a return that the clearing house refused).
No money moves here, and no ledger or JD call is made. Every outcome names an act performed outside this system, and this endpoint is the record of it:
RETURNED: a person sent the funds back to the paying bank, out of band, under the return control number that the devolution row has kept since the day of receipt.CREDITED: a person credited the beneficiary.ABSORBED: the tenant keeps funds that reached neither end.
A credit written down twice, as an open retention and as a RETAINED devolution, is closed on both rows in one transaction or on neither. A retention that the poller resolves by itself is refused: the credit lands on its own once the blocking condition lifts, and declaring it settled would tell the tenant to keep money that the service is about to deliver.
This is a tenant-wide administrative action. It requires the transfers:resolve permission and a user token, because the closure records which person decided. It does not require the X-Organization-Id header. In multi-tenant deployments it is scoped to the caller’s resolved tenant database.
Authorizations
JWT Bearer token authentication. The tenantId is derived from the bearer token or authenticated request context and is not supplied through X-Organization-Id.
Headers
Required idempotency key for safe retries. Use a UUID v4 or unique business identifier. If the same key is sent again and the original request was already processed, the cached response is returned.
See Retries and idempotency for details.
255Path Parameters
The identifier of the inbound JD message.
Body
Where the money went, and why.
Response
Indicates that the closure was recorded.
"770e8400-e29b-41d4-a716-446655440003"
"RETURNED"
"funds wired back to the paying bank under control number 20260901000042"
What this decision was worth, read from the retention when the message carried one, and from the devolution row otherwise. Omitted when no positive amount was parsed.
"15000.00"
"2026-02-01T15:30:00Z"
The stable subject from the bearer token, never a display name.
"acme/ana.souza"
true
"RECIPIENT_NOT_FOUND_RETURN_UNAUTHORIZED"
"2026-02-01T15:29:55Z"
true
RETAINED or FAILED: the devolution status before this call.
"RETAINED"
"RETURNED"

