Skip to main content

Create payment instruments

A payment instrument is created through the UI when a user purchases a product through an AppDirect-powered marketplace. Creating a payment instrument is the equivalent to entering billing details on purchase through the UI as shown below.

A payment instrument is required if you are creating a subscription for a paid product. Once you have a created company and a user, you can create a payment instrument through the AppDirect Billing API. AppDirect supports an OAuth-authenticated REST interface that allows API users to read, create, edit, and delete marketplace records that describe a payment instrument. These functions are all part of the Billing API, which is invokable through standard HTTP methods (GET, POST, PUT, and DELETE) using standard REST conventions. All calls to the Billing API occur under its endpoint URL, https://www.appdirect.com/api/billing/v1.

You must create a payment instrument before you can create subscriptions via the Billling API.

Was this page helpful?