Create a Contract

Create Contract.

📘

MX™ Invoice must be enabled

Recurring billing requires MX™ Invoice to be enabled for the merchant account, in both sandbox and production. Contact the Account Management team to enable it. If MX™ Invoice isn't active, the API doesn't return an error: the contract is created, but scheduled charges and invoice emails may not run.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
boolean
Defaults to true

If true, the API will echo the full payment resource in the response body

Body Params

The subscription, contract and any attachments.

Provides a container for requesting the creation or modification of a subscription
within a transaction.

contract
object

Contract associated with this subscription

subscription
object

Subscription details linked to the contract

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json