Questions? Feedback? powered by Olark live chat software

API Guide :: Accepting items in a transaction

Accepting items in a transaction

Once you have verified that the items you received from the seller are what you expected and in the condition you expected, you mark the items as accepted. This allows us to go ahead and disburse the funds to the seller.

Marking all items as accepted

Accepting the items in a transaction allows us to disburse funds to the seller in the transaction. Accepting or rejecting the items must happen before the inspection period for the transaction completes as Escrow.com will automatically accept the goods on the buyer's behalf if the inspection period lapses.

If the API call is successful, it will return the updated transaction object.

Note

This action must be performed by the buyer in the transaction. A partner cannot perform this action on behalf of the buyer.

1
2
3
4
5
6
7
8
curl "https://api.escrow.com/2017-09-01/transaction/2020" \
    -X PATCH \
    -u "email-address:your-api-key" \
    -H "Content-Type: application/json" \
    -d '
{
    "action": "accept"
}'

Marking individual items as accepted on a milestone transaction

For milestone transactions, you must mark individual items on a transaction as accepted. The request is similar to marking all of the items as accepted on a transaction, however you perform the patch request on the item subresource of the transaction.

If the API call is successful, it will return the updated transaction object.

1
2
3
4
5
6
7
8
curl "https://api.escrow.com/2017-09-01/transaction/2020/item/1999" \
    -X PATCH \
    -u "email-address:your-api-key" \
    -H "Content-Type: application/json" \
    -d '
{
    "action": "accept"
}'