Create External Commission
Body
The external commission to create.
-
The unique id.
-
The date and time of creation in UTC time.
-
The date and time last modification in UTC time.
-
The code for the end or side of the transaction.
Values are
BorS. -
The percentage of the commission paid to the external agent. This will be specified as a decimal. For example, 5% will be specified as 0.05.
-
The amount of the commission paid to the external agent.
-
The code for the method used to calculate the commission.
Values are
AorP. -
The code for the method of payment for the commission.
Values are
B,N, orE. -
The unique id of the external agent associated with this commission.
-
Represents an agent involved in the transaction that does not work for the brokerage.
Additional properties are NOT allowed.
Responses
-
OK
-
Request succeeded.
-
Invalid request. See response body for details.
-
Unauthorized. See response body for details.
-
Permission denied. See response body for details.
-
Not found. See response body for details.
-
Conflict. See response body for details.
-
Validation failed. See response body for details.
curl \
--request POST 'https://api.lwolf.com/backoffice/v1/transactions/{transactionId}/tiers/{tierId}/external-commissions' \
--header "Content-Type: application/json" \
--data '{"id":"string","amount":0,"endCode":"B","percentage":0,"externalAgent":{"id":"string","endCode":"B","lastName":"string","typeCode":"B","firstName":"string","addressCity":"string","companyName":"string","addressLine1":"string","addressLine2":"string","faxNumberMain":"string","phoneNumberMain":"string","createdTimestamp":"string","emailAddressMain":"string","addressPostalCode":"string","modifiedTimestamp":"string","paymentMethodCode":"B","addressCountryCode":"string","addressProvinceCode":"string","phoneNumberBusiness":"string","emailAddressBusiness":"string"},"externalAgentId":"string","createdTimestamp":"string","modifiedTimestamp":"string","paymentMethodCode":"B","calculationMethodCode":"A"}'
{
"id": "string",
"amount": 0,
"endCode": "B",
"percentage": 0,
"externalAgent": {
"id": "string",
"endCode": "B",
"lastName": "string",
"typeCode": "B",
"firstName": "string",
"addressCity": "string",
"companyName": "string",
"addressLine1": "string",
"addressLine2": "string",
"faxNumberMain": "string",
"phoneNumberMain": "string",
"createdTimestamp": "string",
"emailAddressMain": "string",
"addressPostalCode": "string",
"modifiedTimestamp": "string",
"paymentMethodCode": "B",
"addressCountryCode": "string",
"addressProvinceCode": "string",
"phoneNumberBusiness": "string",
"emailAddressBusiness": "string"
},
"externalAgentId": "string",
"createdTimestamp": "string",
"modifiedTimestamp": "string",
"paymentMethodCode": "B",
"calculationMethodCode": "A"
}
{
"id": "string",
"amount": 0,
"endCode": "B",
"percentage": 0,
"externalAgent": {
"id": "string",
"endCode": "B",
"lastName": "string",
"typeCode": "B",
"firstName": "string",
"addressCity": "string",
"companyName": "string",
"addressLine1": "string",
"addressLine2": "string",
"faxNumberMain": "string",
"phoneNumberMain": "string",
"createdTimestamp": "string",
"emailAddressMain": "string",
"addressPostalCode": "string",
"modifiedTimestamp": "string",
"paymentMethodCode": "B",
"addressCountryCode": "string",
"addressProvinceCode": "string",
"phoneNumberBusiness": "string",
"emailAddressBusiness": "string"
},
"externalAgentId": "string",
"createdTimestamp": "string",
"modifiedTimestamp": "string",
"paymentMethodCode": "B",
"calculationMethodCode": "A"
}
{
"id": "string",
"code": 0,
"details": [
"string"
],
"message": "string"
}
{
"id": "string",
"code": 0,
"details": [
"string"
],
"message": "string"
}
{
"id": "string",
"code": 0,
"details": [
"string"
],
"message": "string"
}
{
"id": "string",
"code": 0,
"details": [
"string"
],
"message": "string"
}
{
"id": "string",
"code": 0,
"details": [
"string"
],
"message": "string"
}
{
"id": "string",
"code": 0,
"details": [
"string"
],
"message": "string"
}