# Create new draft contract POST /partner/v3/shops/{shopUuid}/contracts/{contractUuid}/versions Using this endpoint a partial return can be submitted to Inbank, which in turn creates a new contract version that needs to be reviewed using the Review updated payment schedule API request and, if all is fine, then confirmed using the Confirm the updated contract API request. Endpoint: POST /partner/v3/shops/{shopUuid}/contracts/{contractUuid}/versions Security: bearerAuth ## Path parameters: - `shopUuid` (string, required) The unique identifier of the shop. Example: "a93f1f44-d5dd-4469-bfcc-c1de9e969213" - `contractUuid` (string, required) The unique identifier of the contract. Example: "788ec8c4-c497-470b-8505-2303f151d427" ## Request fields (application/json): - `contractChangeDetails` (object) - `contractChangeDetails.type` (string) The return type, available option is: PARTIAL_RETURN. - `contractChangeDetails.returnAmount` (number) The return amount. ## Response 201 fields (application/json): - `uuid` (string) The new draft contract version uuid. - `status` (string) Status of the contract. - `createdAt` (string) Date and time of contract creation. - `sourceContractChange` (object) - `sourceContractChange.uuid` (string) The uuid of the contract update. - `sourceContractChange.fromContractVersionUuid` (string) The uuid of the previous contract version. - `sourceContractChange.toContractVersionUuid` (string) The uuid of the updated contract version. - `sourceContractChange.createdAt` (string) The time of creation. - `sourceContractChange.entityCreatedBy` (string) Entity created by. - `sourceContractChange.contractChangeDetails` (object) - `sourceContractChange.contractChangeDetails.type` (string) The type of contract change. - `sourceContractChange.contractChangeDetails.uuid` (string) The contract uuid. - `sourceContractChange.contractChangeDetails.returnAmount` (number) The return amount. - `pricingUuid` (string) The pricing uuid. - `paymentScheduleUuid` (string) The payment schedule uuid. - `consumerCreditInformationUuid` (string) Consumer credit information uuid. ## Response 401 fields (application/json): - `message` (string) Unauthorized Example: "unauthorized" ## Response 403 fields (application/json): - `message` (string) Unauthorized access Example: "User is not authorized to access this resource with an explicit deny" ## Response 404 fields (application/json): - `message` (string) Not Found Example: "not_found" ## Response 422 fields (application/json): - `message` (string) Unprocessable Entity ## Response 500 fields (application/json): - `message` (string) Internal server error Example: "internal_server_error"