Escrow Offer API :: Accepting/Rejecting offers
Processing an offer
This endpoint can be used to accept or reject an offer or counter offer. The actions accepted in the endpoint include: "accept", "reject" and "cancel".
- cURL
- Python
- Ruby
- PHP
- C#
1 2 3 4 5 6 7 8
curl "https://api.escrow.com/integration/2018-08-01/auction/123123/offer/12014" \ -X PATCH \ -u "email-address:your-api-key" \ -H "Content-Type: application/json" \ -d ' { "action": "reject" }'
Example Response
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
{ "auction_id": 123123, "by_party": { "customer": "[email protected]", "display_name": "Lois D. Nominator", "id": 444444, "role": "buyer" }, "date_closed": "2019-05-09T07:59:48.532617+00:00", "date_created": "2019-05-09T07:49:48.532617+00:00", "expiry_period": 1209600, "id": 12014, "no_fee_amount": "500.50", "note": "I really want it?", "status": { "accepted": false, "canceled": false, "rejected": true }, "transaction_id": 1464147 }