Skip to main content

Approve Trade Process Flow

PATCH /api/v1/trades/{tradeId}/process-flows/approval

Description

Approve a trade process flow.

Path Parameters

NameTypeDescription
tradeIdstringThe ID of the trade (path)

Request Headers

NameTypeDescription
tenantIdstringThe tenant ID (header)
userIdstringThe user ID (header)

Request Body

  • Content Type: application/json
{
"reason": "string",
"status": "ACCEPTED",
"userId": "string"
}

Response Code: 200 - OK

Description

Approval of trade process flow was successful.

Headers

Content-TypeValue
apiKey{{apiKey}}
tenantIdstring
userIdstring

Body

{
"reason": "Approved after review",
"status": "ACCEPTED",
"userId": "usr456"
}

🔑 Authentication bearer

ParamValueType
token{{accessCode}}string

LANGUAGE

AUTHORIZATION

Bearer

CURL REQUEST


curl --request PATCH \ 
--url /api/v1/trades/{tradeId}/process-flows/approval \
--header 'accept: application/json' \
--header 'content-type: application/json'

RESPONSE


Click Try It! to start a request and see the response here!