Open a MED case for a transaction
POST /order/v1/banking/med/accounts/{accountId}
Opens a MED 2.0 case (“recuperação de valores”) at the DICT for a transaction debited from the account. The DICT traces where the funds went, notifies the receiving PSPs and the case evolves through CREATED, TRACED, WAITING_ANALYSIS, ANALYSED, WAITING_REFUND and COMPLETED. Progress arrives as MED webhooks and can be followed on GET /public/v1/banking/med/{referenceId}.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Account the contested transaction was debited from.
Header Parameters
Section titled “Header Parameters ”Unique key for idempotent requests
Request Body required
Section titled “Request Body required ”object
End to end id of the contested transaction, or the return id (RtrId) when contesting a refund.
Example
E04358798202508270918y6j6mt9l0piSituation that gave rise to the case.
Example
SCAMDetails that help the receiving PSPs analyse the case. Required when situationType is OTHERS.
Tracing graph options. The DICT defaults apply when omitted.
object
Minimum amount a transaction must have to enter the tracing graph. Defaults to 200.00 at the DICT, so lower it when the contested amount is smaller.
Example
100.00Maximum number of transactions per graph node (DICT limit: 5).
Maximum time between a credit and the following debit for the funds to be traced (DICT limit: PT2H).
Example
PT2HMaximum depth of the tracing graph (DICT limit: 10).
Responses
Section titled “ Responses ”The resource was returned successfully
object
Identifier of the case at the DICT. Use it to follow the case and to receive MED webhooks.
Status of the case at the DICT right after opening (CREATED or TRACED).
Account the case belongs to.
Contested transaction.
object
Example
INVALID_REQUESTobject
Example
[ { "field": "field_name", "issue": "INVALID", "description": "Field is invalid" }]Unauthorized Request
object
Example
UNAUTHORIZEDExample
Unauthorized Requestobject
Example
[]object
Example
FORBIDDEN_ERRORobject
Example
[]Resource not found
object
Example
NOT_FOUNDExample
Resource not foundobject
Example
[]object
Example
INTERNAL_ERRORobject
Example
[]