Dólar MEP
Dólar MEP lets a user acquire USD through a synthetic operation: buy a bond in ARS and sell it in USD (or the reverse), obtaining the MEP exchange rate without managing each leg manually. Broker orchestrates both legs as a single synthetic.
Operate Dólar MEP
curl -X POST https://sandbox.manteca.dev/broker/v1/api/synthetic/dolarMep \
-H "md-api-key: $MD_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"userAnyId": "64ec95a93adb2d241db28a78",
"side": "BUY",
"asset": "AL30",
"amount": "1000",
"settlement": "INSTANT",
"externalId": "mep-001"
}'userAnyId identifies the user: pass the Manteca internal user id, the user's numberId, or the externalId you assigned when creating them.
Read the current MEP price before operating, and track the synthetic to completion via webhook or polling.
Synthetic statuses
| Status | Description |
|---|---|
STARTING | Created; no leg has been sent to market yet. |
ACTIVE | A leg order is at market. |
WAITING | Waiting out a market-regulation window; the next leg executes automatically when possible. |
PAUSED | Manually paused; the next leg will not run until you resume it. |
FAILED | Unrecoverable error in a leg; requires manual intervention. |
COMPLETED | All legs executed successfully. |
CANCELLED | Manually cancelled. |
Note the difference between WAITING and PAUSED: WAITING resumes by itself once the regulatory window ends, while PAUSED stays put until you explicitly resume it.
Pause and resume
A synthetic can be paused and later resumed, which is useful when you need to hold execution between legs.
Endpoint references
| Action | Endpoint |
|---|---|
| Get Dólar MEP prices | GET /broker/v1/api/price/synthetic/mep/{asset} |
| Create Dólar MEP synthetic | POST /broker/v1/api/synthetic/dolarMep |
| List synthetics | GET /broker/v1/api/synthetic |
| Get synthetic by ID | GET /broker/v1/api/synthetic/{syntheticAnyId} |
| Pause synthetic | POST /broker/v1/api/synthetic/{syntheticId}/pause |
| Resume synthetic | POST /broker/v1/api/synthetic/{syntheticId}/unpause |
For lifecycle tracking, see Execution tracking.
Updated 5 months ago