Skip to content

Commit dda77a8

Browse files
committed
Fix orders mostro response syntax
1 parent 4885741 commit dda77a8

File tree

1 file changed

+28
-32
lines changed

1 file changed

+28
-32
lines changed

src/orders.md

Lines changed: 28 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -44,40 +44,36 @@ Mostro replies with the same action and includes a structured payload describing
4444
"payload": {
4545
"orders": [
4646
{
47-
"order": {
48-
"id": "c7dba9db-f13f-4c3f-a77f-3b82e43c2b1a",
49-
"kind": "sell",
50-
"status": "active",
51-
"amount": 3307,
52-
"fiat_code": "ARS",
53-
"min_amount": 1000,
54-
"max_amount": 5000,
55-
"fiat_amount": 5000,
56-
"payment_method": "Mercado Pago,Lemon",
57-
"premium": 2,
58-
"buyer_trade_pubkey": "<trade pubkey>",
59-
"seller_trade_pubkey": "<trade pubkey>",
60-
"created_at": 1758889527,
61-
"expires_at": 1758975927
62-
}
47+
"id": "c7dba9db-f13f-4c3f-a77f-3b82e43c2b1a",
48+
"kind": "sell",
49+
"status": "active",
50+
"amount": 3307,
51+
"fiat_code": "ARS",
52+
"min_amount": 1000,
53+
"max_amount": 5000,
54+
"fiat_amount": 5000,
55+
"payment_method": "Mercado Pago,Lemon",
56+
"premium": 2,
57+
"buyer_trade_pubkey": "<trade pubkey>",
58+
"seller_trade_pubkey": "<trade pubkey>",
59+
"created_at": 1758889527,
60+
"expires_at": 1758975927
6361
},
6462
{
65-
"order": {
66-
"id": "751bc178-801a-4cc4-983c-68682e6fb6af",
67-
"kind": "sell",
68-
"status": "fiat-sent",
69-
"amount": 1201,
70-
"fiat_code": "ARS",
71-
"min_amount": null,
72-
"max_amount": null,
73-
"fiat_amount": 2000,
74-
"payment_method": "MODO",
75-
"premium": 0,
76-
"buyer_trade_pubkey": "<trade pubkey>",
77-
"seller_trade_pubkey": "<trade pubkey>",
78-
"created_at": 1759168820,
79-
"expires_at": 1759255220
80-
}
63+
"id": "751bc178-801a-4cc4-983c-68682e6fb6af",
64+
"kind": "sell",
65+
"status": "fiat-sent",
66+
"amount": 1201,
67+
"fiat_code": "ARS",
68+
"min_amount": null,
69+
"max_amount": null,
70+
"fiat_amount": 2000,
71+
"payment_method": "MODO",
72+
"premium": 0,
73+
"buyer_trade_pubkey": "<trade pubkey>",
74+
"seller_trade_pubkey": "<trade pubkey>",
75+
"created_at": 1759168820,
76+
"expires_at": 1759255220
8177
}
8278
]
8379
}

0 commit comments

Comments
 (0)