crate::trading::controller::openapi::conversions
GET /v1/customers/{customer_id}/conversions/order
Changed onRequest
- Base URLhttps://api.1money.com
- AuthHTTP bearer
- TypeScripthttps://skmtc.dev/1money/apis/1money-openapi/docs/v1/customers/:customer_id/conversions/order/get.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
customer_idstring required
Customer ID
Query parameters
transaction_idstring required
Public transaction ID exposed by OpenAPI. Internally this maps to order IDs from the concrete transaction tables.
Example:aac5201f-7f1c-11f0-b018-de09fc637374
Response
Example response
{
"transaction_id": "1f581bfe-25de-42aa-9429-6802412850b3",
"order_status": "PENDING",
"quote_id": "1f581bfe-25de-42aa-9429-6802412850b3",
"user_pay_amount": "100.00",
"user_pay_asset": "USDT",
"user_obtain_amount": "100.00",
"user_obtain_asset": "USDT",
"symbol": "USDC/USD",
"rate": "1.1",
"fee": "1.20",
"fee_currency": "USD",
"platform_fee": {
"value": "10.55",
"asset": "USDC"
},
"partner_fee": {
"value": "10.55",
"asset": "USDC"
}
}Changes
- info
api tag
crate::trading::controller::openapi::conversionsadded - info
api tag
Conversionsremoved - info
added the required property
to the response with the status
- info