Request
- Headers:
Content-Type: application/json - Body (required):
- buy (integer): Buy amount in base currency.
- pair (string): Currency pair (e.g., “USD-NGN”).
- sell (integer): Sell amount in quote currency.
- ttl (integer): Time-to-live for the rate, in seconds.
Sample Response
- 201 Created
- Media Type:
application/json
- Media Type:
- 422 Unprocessable Entity
- Media Type:
application/json - Indicates validation errors or invalid request parameters.