lockId
), which is valid for a limited time and must be used to place an order. The response also includes the exact amount of cryptocurrency the user will receive at the locked rate.For a list of available currencies, see Supported Currencies. If you only need to check the current rates without creating a lock, use the Get Rates endpoint instead.
curl --location --request POST 'https://partner-api-stage.p100.io/v1/order/lock-rate' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"currency": "usdc",
"amount": "346.59",
"network": "polygon"
}'
{
"lockId": "a1b2c3d4-e5f6-7890-1234-567890abcdef",
"rate": 0.9245,
"amount": 92.45,
"expiresAt": "2025-09-23T06:55:40Z",
"cryptocurrency": "usdc",
"network": "polygon"
}