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_'.
Body
The customer attached to the contract
The signatories for the contract
The template to use for the contract
The title for the contract
The type of the proposal
CONTRACT
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 bundle that form the contract.
The custom variables for the contract as key-value pairs
The discounts attached to the contract
The expiration date for the contract in RFC-3339 format
Any additional data as key-value pairs that needs to be attached to the subscription after the contract is signed
Any one time charges to be attached to the contract
The detailed options for the contract such as confirmation messages, redirect urls etc.
The company user ID of the user in Maple assigned to manage this contract
The list of product pricings that form the contract
Whether the contract requires a payment method to be executed
The start date for the contract in RFC-3339 format, if it does not start immediately
The status of the contract, defaults to DRAFT
DRAFT
, PENDING_SIGNATURES
The term for the subscription created by the contract
Whether the contract creates a subscription in a trial
The trial term for the subscription after the contract is executed
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