Skip to main content
POST
/
exchange
/
fx
/
rate
/
{id}
/
lock
Lock aggregator swap rate
curl --request POST \
  --url https://api.example.com/exchange/fx/rate/{id}/lock
{
  "data": {
    "rate": 1500,
    "symbol": "USD-NGN",
    "ttl": 10,
    "type": "buy"
  }
}

Path Parameters

id
string
required

Aggregator rate ID

Response

SwapRate

Response schema for a swap rate

data
SwapRate · object

Response schema for swap rate

Example:
{
  "rate": 1500,
  "symbol": "USD-NGN",
  "ttl": 10,
  "type": "buy"
}