Skip to main content

Confirm Payment in Trade Tracking Pipeline

PATCH /api/v1/trade-tracking-pipeline/finances/confirm-payment

Description

Confirm payment in the trade tracking pipeline.

Path Parameters

NameTypeDescription
NoneNo parameters

Request Headers

NameTypeDescription
tenantIdstringThe tenant ID (header)
userIdstringThe user ID (header)
countryCodestringThe country code (header)

Request Body

  • Content Type: application/json
{
"trade": "string",
"processFlow": "string",
"amount": 0,
"proofOfPayment": "string",
"testResult": "string",
"status": true,
"dateTimeStamp": "2024-07-13T01:45:32.413Z",
"userId": "string",
"tenantId": "string",
"countryCode": "string"
}

Response Code: 200 - OK

Description

Payment confirmed successfully.

Headers

|Content-Type |Value| | --- | --- | --- | |apiKey |{{apiKey}}| |tenantId |string| |userId |string| |countryCode |string|

Body

{
"trade": "SampleTrade",
"processFlow": "SampleProcess",
"amount": 1000,
"proofOfPayment": "Proof123",
"testResult": "Result123",
"status": true,
"dateTimeStamp": "2024-07-13T01:45:32.413Z",
"userId": "usr456",
"tenantId": "tn123",
"countryCode": "US"
}

🔑 Authentication bearer

ParamValueType
token{{accessCode}} string

LANGUAGE

AUTHORIZATION

Bearer

CURL REQUEST


curl --request PATCH \ 
--url /api/v1/trade-tracking-pipeline/finances/confirm-payment \
--header 'accept: application/json' \
--header 'content-type: application/json'

RESPONSE


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