PUT
/
v1
/
contracts
/
{id}

Path Parameters

id
string
required

The contract id.

Body

application/json

A contract object.

paymentAccount
object
required

New Payment Account details.

contract
object
required

New Contract details.

paymentAccountId
string

Existing payment account ID. If provided, a new payment account will not be created. Note: You cannot provide both a paymentAccountId and a new paymentAccount object at the same time.

Response

200 - application/json

The request was successfully processed, and the contract has been updated. The response contains the details of the updated contract.

contract
object
required

Schema defining the contract details.

customer
object
required

Schema representing a customer.

paymentAccount
object
required

Schema representing a payment account.