Edit party
This endpoint allows you to update the details of a specific party and user within an escrow service.
Edit party
PATCH
v2/escrow/party/edit/:transaction_party_id/:user_id
Params
transaction_partiy_id
String
The ID of the transaction party to be edited
user_id
String
The ID of the user
Headers
Accept*
string
application/json
V-PRIVATE-KEY*
string
your vesicash private key
V-PUBLIC-KEY*
String
your vesicash public key
Request body
The request should include a JSON payload with the following parameters:
email (string): The email address of the party.
first_name (string): The first name of the party.
last_name (string): The last name of the party.
phone (string): The phone number of the party.
is_initiator (boolean): Indicates whether the party is an initiator.
role_description (string): Description of the role of the party.
bank_account (object): An object containing bank account details including:
bank_name (string): The name of the bank.
bank_code (string): The bank code.
account_number (string): The account number.
account_name (string): The name associated with the account.
Response
Upon successful execution, the endpoint returns a status code of 200 and a JSON response with the following structure:
For example, you can make a PATCH request to the endpoint above and pass in the raw json data below to edit party.
Last updated