Reject transaction
This endpoint is used to reject a specific escrow transaction.
Reject transaction
POST
v2/escrow/transaction/reject/:recipient_user_id
Params
Name | Type | Descripion |
---|---|---|
recipient_user_id | String | The user_id of the transaction recipient |
Headers
Name | Type | Description |
---|---|---|
Accept* | string | application/json |
V-PRIVATE-KEY* | string | your vesicash private key |
V-PUBLIC-KEY* | String | your vesicash public key |
Request body
transaction_id (string, required): The ID of the transaction to be rejected.
reason (string, required): The reason for rejecting the transaction.
Response
The response is in JSON format and follows the schema
For example, you can make a post request to the endpoint above and pass in the raw json data below to reject a transaction.
Last updated