Skip to main content
POST
/
api
/
v1
/
quotes
/
{id}
/
accept
cURL
curl --request POST \
  --url https://api.lidian.finance/api/v1/quotes/{id}/accept \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "quoteId": "<string>"
}
'
{
  "message": "<string>",
  "data": {
    "acceptedQuote": {},
    "quoteRequest": {},
    "declinedQuotes": [
      {}
    ],
    "declinedCount": 123
  }
}
Accept a quote by ID.

Authorizations

x-api-key
string
header
required

Path Parameters

id
string
required

Quote ID

Body

application/json

Quote acceptance parameters

quoteId
string
required

Response

200 - application/json

Quote accepted successfully

message
string
data
object