Accept or Reject a transaction

Accepting an escrow transaction is one of the two actions that can be initiated when a user receives a new transaction request.

When a transaction is created and sent to the other party, the party needs to agree to the transaction terms before the transaction is allowed to proceed.

Accept/Reject an escrow transaction invite

PATCH https://api.vesicash.com/v2/parties/update-status

Headers

Request Body

{
  "status": "success",
  "code": 200,
  "message": "updated"
}

For example, you can make a post request to the endpoint above and pass in the json data below to agree/reject a transaction.

{
    "transaction_id": "2de8dfc0bfb04be98b86",
    "account_id": "12345678",
    "status": "accepted" //rejected
}

Last updated