Cancel an offer

Endpoint to cancel one of your offers

To cancel an offer: use the POST /fulfillments with type=REIMBURSEMENT to cancel an existing offer.

Example

Request

POST https://api.venly.market/fulfillments

Request Body

{
    "type": "REIMBURSEMENT",
    "offerId": "f3f56b55-9df5-4061-90fa-ffff78d2dd11"
}

Response

{
  "success": true,
  "result": {
    "id": "ff887a6c-5a97-47bf-815c-c40078546519",
    "type": "REIMBURSEMENT",
    "offerId": "f3f56b55-9df5-4061-90fa-ffff78d2dd11",
    "amount": 1,
    "status": "QUEUED",
    "creationDate": "2022-04-20T13:22:34.338410"
  }
}

Last updated