# ContractService

## AcceptAwaitingContractReturn

 - [POST /aurora.core.apiengine.contractsv1.ContractService/AcceptAwaitingContractReturn](https://developer.provablemarkets.com/api/connectapi/contractservice/acceptawaitingcontractreturn.md): PATH: /aurora.core.apiengine.contractsv1.ContractService/AcceptAwaitingContractReturn

## AcceptRateModification

 - [POST /aurora.core.apiengine.contractsv1.ContractService/AcceptRateModification](https://developer.provablemarkets.com/api/connectapi/contractservice/acceptratemodification.md): PATH: /aurora.core.apiengine.contractsv1.ContractService/AcceptRateModification

## BuyInContract

 - [POST /aurora.core.apiengine.contractsv1.ContractService/BuyInContract](https://developer.provablemarkets.com/api/connectapi/contractservice/buyincontract.md): PATH: /aurora.core.apiengine.contractsv1.ContractService/BuyInContract

  ### Buying-In Against Recalled Contracts
Where a lender has requested a recall of a contract, but the borrower has not returned the shares before the
allowed_execution_date indicated on the Contract Recall, the lender may buy-in the shares against the borrower.

Aurora acts as a gateway to capture the purchase price and quantity of this buy-in, allowing the lender to reclaim
the costs of the buy-in against the borrower, and adjusting the contract records within Aurora and downstream clearing and settlement.
The lender may submit the execution price and quantity of shares by submitting this message.

Note that buy-ins are allocated against outstanding recalls for the indicated contract on a first-in-first-out basis,
and therefore a contract_recall_id is not supported in this message.

The submitted buy-in details must be processed by DTC before updating outstanding contracts and recall request(s)
within Aurora.

## CancelAllPendingReturns

 - [POST /aurora.core.apiengine.contractsv1.ContractService/CancelAllPendingReturns](https://developer.provablemarkets.com/api/connectapi/contractservice/cancelallpendingreturns.md): PATH: /aurora.core.apiengine.contractsv1.ContractService/CancelAllPendingReturns

## CancelAllRecalls

 - [POST /aurora.core.apiengine.contractsv1.ContractService/CancelAllRecalls](https://developer.provablemarkets.com/api/connectapi/contractservice/cancelallrecalls.md): PATH: /aurora.core.apiengine.contractsv1.ContractService/CancelAllRecalls

## CancelAwaitingContractReturn

 - [POST /aurora.core.apiengine.contractsv1.ContractService/CancelAwaitingContractReturn](https://developer.provablemarkets.com/api/connectapi/contractservice/cancelawaitingcontractreturn.md): PATH: /aurora.core.apiengine.contractsv1.ContractService/CancelAwaitingContractReturn

## CancelContract

 - [POST /aurora.core.apiengine.contractsv1.ContractService/CancelContract](https://developer.provablemarkets.com/api/connectapi/contractservice/cancelcontract.md): PATH: /aurora.core.apiengine.contractsv1.ContractService/CancelContract

  CancelContract can be use to cancel a Pending Contract

## CancelRateModification

 - [POST /aurora.core.apiengine.contractsv1.ContractService/CancelRateModification](https://developer.provablemarkets.com/api/connectapi/contractservice/cancelratemodification.md): PATH: /aurora.core.apiengine.contractsv1.ContractService/CancelRateModification

## CancelRecallContract

 - [POST /aurora.core.apiengine.contractsv1.ContractService/CancelRecallContract](https://developer.provablemarkets.com/api/connectapi/contractservice/cancelrecallcontract.md): PATH: /aurora.core.apiengine.contractsv1.ContractService/CancelRecallContract

## CancelSinglePendingReturn

 - [POST /aurora.core.apiengine.contractsv1.ContractService/CancelSinglePendingReturn](https://developer.provablemarkets.com/api/connectapi/contractservice/cancelsinglependingreturn.md): PATH: /aurora.core.apiengine.contractsv1.ContractService/CancelSinglePendingReturn

## CreateRateModification

 - [POST /aurora.core.apiengine.contractsv1.ContractService/CreateRateModification](https://developer.provablemarkets.com/api/connectapi/contractservice/createratemodification.md): PATH: /aurora.core.apiengine.contractsv1.ContractService/CreateRateModification

## GetContract

 - [POST /aurora.core.apiengine.contractsv1.ContractService/GetContract](https://developer.provablemarkets.com/api/connectapi/contractservice/getcontract.md): PATH: /aurora.core.apiengine.contractsv1.ContractService/GetContract

## ListContractHistory

 - [POST /aurora.core.apiengine.contractsv1.ContractService/ListContractHistory](https://developer.provablemarkets.com/api/connectapi/contractservice/listcontracthistory.md): PATH: /aurora.core.apiengine.contractsv1.ContractService/ListContractHistory

  ListContractHistory provides a way to query contract events
This can be used to get the full history of everything that has happened to a contract
or for example to get all the returns that happened on a specific date or for a specific instrument

## ListContracts

 - [POST /aurora.core.apiengine.contractsv1.ContractService/ListContracts](https://developer.provablemarkets.com/api/connectapi/contractservice/listcontracts.md): PATH: /aurora.core.apiengine.contractsv1.ContractService/ListContracts

## ListRateModifications

 - [POST /aurora.core.apiengine.contractsv1.ContractService/ListRateModifications](https://developer.provablemarkets.com/api/connectapi/contractservice/listratemodifications.md): PATH: /aurora.core.apiengine.contractsv1.ContractService/ListRateModifications

## ListRecalls

 - [POST /aurora.core.apiengine.contractsv1.ContractService/ListRecalls](https://developer.provablemarkets.com/api/connectapi/contractservice/listrecalls.md): PATH: /aurora.core.apiengine.contractsv1.ContractService/ListRecalls

## RecallContract

 - [POST /aurora.core.apiengine.contractsv1.ContractService/RecallContract](https://developer.provablemarkets.com/api/connectapi/contractservice/recallcontract.md): PATH: /aurora.core.apiengine.contractsv1.ContractService/RecallContract

## RejectAwaitingContractReturn

 - [POST /aurora.core.apiengine.contractsv1.ContractService/RejectAwaitingContractReturn](https://developer.provablemarkets.com/api/connectapi/contractservice/rejectawaitingcontractreturn.md): PATH: /aurora.core.apiengine.contractsv1.ContractService/RejectAwaitingContractReturn

## RejectRateModification

 - [POST /aurora.core.apiengine.contractsv1.ContractService/RejectRateModification](https://developer.provablemarkets.com/api/connectapi/contractservice/rejectratemodification.md): PATH: /aurora.core.apiengine.contractsv1.ContractService/RejectRateModification

## ReturnContract

 - [POST /aurora.core.apiengine.contractsv1.ContractService/ReturnContract](https://developer.provablemarkets.com/api/connectapi/contractservice/returncontract.md): PATH: /aurora.core.apiengine.contractsv1.ContractService/ReturnContract

