v1

latestOpenAPI 3.0.0Apache 2.02026-07-263079321.1 MB
Company

CompanyContract Update

This API is responsible for updating contracts under the closed payment agreement.

post/UpdateCompanyContractClosedLoop

Request body

Methodstring required

Text Containing The Name Of The Method

PartnerIdinteger required

Number Of The Partner

BusinessUnitIdinteger required

Number Of The BusinessUnit

NickNamestring

NickName From Contract

ContractIdentifierstring required

The Store's ContractIdentifier

CompanySectorstring

Sector From Contract's Company

ServiceTypeinteger

Contract's Transactions Type

RatePurchaseValuenumber

Contract's Purchase Rate value

RatePurchaseTypeinteger

Contract's Purchase Rate Type (Percentage, Fixed)

RateWithdrawalValuenumber

Contract's Withdrawal Rate value

RateWithdrawalTypeinteger

Contract's Withdrawal Rate Type (Percentage, Fixed)

RateDepositValuenumber

Contract's Deposit Rate value

RateDepositTypeinteger

Contract's Deposit Rate Type (Percentage, Fixed)

DaysToSettleinteger

Time span for the transactions settlement of the transactions

Example request

{
  "Method": "UpdateCompanyContractClosedLoop",
  "PartnerId": 4548,
  "BusinessUnitId": 4548,
  "NickName": "Contract NickName",
  "ContractIdentifier": "CON965569f9-5c93-4335-b09e-29efe32ba292CON",
  "CompanySector": "food",
  "ServiceType": 1,
  "RatePurchaseValue": 1.5,
  "RatePurchaseType": 1,
  "RateWithdrawalValue": 1.5,
  "RateWithdrawalType": 1,
  "RateDepositValue": 1.5,
  "RateDepositType": 1,
  "DaysToSettle": 2
}

Response

Update Company Contract

Successboolean

True or False

Messagestring

Returned message

Example response

{
  "Success": true,
  "Message": "Purchase generated successfully"
}