{ "opencollection": "1.0.0", "info": { "name": "API Reference authentication merchantSubscription API", "version": "1.0.0" }, "items": [ { "info": { "name": "merchantSubscription", "type": "folder" }, "items": [ { "info": { "name": "Get Subscription Payments", "type": "http" }, "http": { "method": "GET", "url": "https://api-sandbox.coinflow.cash/api/merchant/subscription/subscribers/:subscriptionId", "headers": [ { "name": "Authorization", "value": "" } ], "params": [ { "name": "subscriptionId", "value": "", "type": "path" } ] }, "docs": "Get the payments applied to a subscription" }, { "info": { "name": "Cancel Subscription (by merchant)", "type": "http" }, "http": { "method": "PATCH", "url": "https://api-sandbox.coinflow.cash/api/merchant/subscription/subscribers/:subscriptionId", "headers": [ { "name": "Authorization", "value": "" } ], "params": [ { "name": "subscriptionId", "value": "", "type": "path" } ] }, "docs": "Cancel a subscription" }, { "info": { "name": "Get Plans", "type": "http" }, "http": { "method": "GET", "url": "https://api-sandbox.coinflow.cash/api/merchant/subscription/plans", "headers": [ { "name": "Authorization", "value": "" } ] }, "docs": "Get subscription plans" }, { "info": { "name": "Create Plans", "type": "http" }, "http": { "method": "POST", "url": "https://api-sandbox.coinflow.cash/api/merchant/subscription/plans", "headers": [ { "name": "Authorization", "value": "" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create a new subscription plan" }, { "info": { "name": "Update Plan", "type": "http" }, "http": { "method": "PUT", "url": "https://api-sandbox.coinflow.cash/api/merchant/subscription/plans/:planId", "headers": [ { "name": "Authorization", "value": "" } ], "params": [ { "name": "planId", "value": "", "type": "path", "description": "- can be the id or the plan code" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a subscription plan" }, { "info": { "name": "Deactivate Plan", "type": "http" }, "http": { "method": "DELETE", "url": "https://api-sandbox.coinflow.cash/api/merchant/subscription/plans/:planId", "headers": [ { "name": "Authorization", "value": "" } ], "params": [ { "name": "planId", "value": "", "type": "path", "description": "- can be the id or the plan code" } ] }, "docs": "Deactivate a subscription plan\nIf no subscribers, will be deleted.\nNew subscriptions will not be allowed." }, { "info": { "name": "Get Subscribers", "type": "http" }, "http": { "method": "GET", "url": "https://api-sandbox.coinflow.cash/api/merchant/subscription/plans/:planId/subscribers", "headers": [ { "name": "Authorization", "value": "" } ], "params": [ { "name": "planId", "value": "", "type": "path", "description": "- can be the id or the plan code" } ] }, "docs": "Get the subscriptions for a subscription plan" } ] } ], "bundled": true }