curl --request POST \
--url https://api.example.com/exchange/quote/{id}/lock{
"data": {
"id": "2f939fe5-fb7b-4234-8b73-761a848d13af",
"locked": false,
"rate": 1500,
"symbol": "USD-NGN",
"time_to_convert": 10,
"time_to_lock": 30,
"type": "buy"
}
}curl --request POST \
--url https://api.example.com/exchange/quote/{id}/lock{
"data": {
"id": "2f939fe5-fb7b-4234-8b73-761a848d13af",
"locked": false,
"rate": 1500,
"symbol": "USD-NGN",
"time_to_convert": 10,
"time_to_lock": 30,
"type": "buy"
}
}Quote ID
Quote
Response schema for a quote
Quote
Show child attributes
Quote Id
Quote lock status
Quote price
Currency pair
How long this rate will last before conversion, in seconds
How long this rate will last before locking, in seconds
Quote type
sell, buy {
"id": "2f939fe5-fb7b-4234-8b73-761a848d13af",
"locked": false,
"rate": 1500,
"symbol": "USD-NGN",
"time_to_convert": 10,
"time_to_lock": 30,
"type": "buy"
}