Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
The idempotency key that will be used to ensure the request is only performed once
Path Parameters
The company ID with the prefix 'cmp_'.
The resource ID
Body
Whether the subscription is automatically charged to the payment method after the contract is signed
Whether this subscription auto renews at the end of the term. This is to be used without end date or renewal date
The custom variables for the contract as key-value pairs
The expiration date in RFC-3339 format for the contract
Any additional data as key-value pairs that needs to be attached to the subscription after the contract is signed
The company user ID of the user in Maple assigned to manage this contract
The signatories for the contract
The start date for the contract in RFC-3339 format, if it does not start immediately
The term for the subscription created by the contract
The title for the contract
Response
OK
The amount which has value in cents and a currency
x >= 0
x >= 0
Payment instructions attached to each invoice generated for the contract. If non-null, overrides the invoice payment instructions set at the company-wide setting.
The amount which has value in cents and a currency
The amount which has value in cents and a currency
The amount which has value in cents and a currency
The term which includes a frequency interval and a count for number of intervals
The term which includes a frequency interval and a count for number of intervals