{ "opencollection": "1.0.0", "info": { "name": "Companies AI Embed PaymentInstrument API", "version": "v296.0-SNAPSHOT" }, "items": [ { "info": { "name": "PaymentInstrument", "type": "folder" }, "items": [ { "info": { "name": "List all payment instruments for a user", "type": "http" }, "http": { "method": "GET", "url": "https://marketplace.appdirect.com/api/billing/v1/companies/:companyId/users/:userId/paymentInstruments", "params": [ { "name": "companyId", "value": "", "type": "path", "description": "User's company UUID" }, { "name": "userId", "value": "", "type": "path", "description": "User UUID" } ] }, "docs": "List all of the payment instruments for the given user" }, { "info": { "name": "Create a payment instrument", "type": "http" }, "http": { "method": "POST", "url": "https://marketplace.appdirect.com/api/billing/v1/companies/:companyId/users/:userId/paymentInstruments", "params": [ { "name": "companyId", "value": "", "type": "path", "description": "User's company UUID" }, { "name": "userId", "value": "", "type": "path", "description": "User UUID" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create a payment instrument for the given user and company using the provided data" }, { "info": { "name": "Update a payment instrument", "type": "http" }, "http": { "method": "PUT", "url": "https://marketplace.appdirect.com/api/billing/v1/companies/:companyId/users/:userId/paymentInstruments/:paymentInstrumentId", "params": [ { "name": "companyId", "value": "", "type": "path", "description": "User's company UUID" }, { "name": "paymentInstrumentId", "value": "", "type": "path", "description": "Existing payment instrument UUID" }, { "name": "userId", "value": "", "type": "path", "description": "User UUID" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update the payment instrument for the given user and company using the provided data" }, { "info": { "name": "Retrieve the default payment instrument", "type": "http" }, "http": { "method": "GET", "url": "https://marketplace.appdirect.com/api/billing/v1/paymentInstruments/default", "params": [ { "name": "companyUuid", "value": "", "type": "query", "description": "User's company UUID" }, { "name": "userUuid", "value": "", "type": "query", "description": "User's UUID" } ] }, "docs": "Retrieve the default payment instrument for a given user and company" }, { "info": { "name": "Retrieve a payment instrument", "type": "http" }, "http": { "method": "GET", "url": "https://marketplace.appdirect.com/api/billing/v1/paymentInstruments/:paymentInstrumentId", "params": [ { "name": "paymentInstrumentId", "value": "", "type": "path", "description": "Payment Instrument Id" } ] }, "docs": "Retrieve a payment instrument" }, { "info": { "name": "Delete a payment instrument", "type": "http" }, "http": { "method": "DELETE", "url": "https://marketplace.appdirect.com/api/billing/v1/paymentInstruments/:paymentInstrumentId", "params": [ { "name": "paymentInstrumentId", "value": "", "type": "path", "description": "Payment Instrument Id" } ] }, "docs": "Delete a payment instrument" } ] } ], "bundled": true }