{ "opencollection": "1.0.0", "info": { "name": "Efí Pay Cobranças Account Subscriptions API", "version": "1.0" }, "request": { "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://cobrancas.api.efipay.com.br/v1/authorize", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Subscriptions", "type": "folder" }, "items": [ { "info": { "name": "Create Subscription", "type": "http" }, "http": { "method": "POST", "url": "https://cobrancas.api.efipay.com.br/v1/plan/:id/subscription", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Create Subscription" }, { "info": { "name": "Create One Step Subscription", "type": "http" }, "http": { "method": "POST", "url": "https://cobrancas.api.efipay.com.br/v1/plan/:id/subscription/one-step", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Create One Step Subscription" }, { "info": { "name": "Create One Step Subscription Link", "type": "http" }, "http": { "method": "POST", "url": "https://cobrancas.api.efipay.com.br/v1/plan/:id/subscription/one-step/link", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Create One Step Subscription Link" }, { "info": { "name": "Detail Subscription", "type": "http" }, "http": { "method": "GET", "url": "https://cobrancas.api.efipay.com.br/v1/subscription/:id", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Detail Subscription" }, { "info": { "name": "Update Subscription", "type": "http" }, "http": { "method": "PUT", "url": "https://cobrancas.api.efipay.com.br/v1/subscription/:id", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Update Subscription" }, { "info": { "name": "Define Subscription Payment Method", "type": "http" }, "http": { "method": "POST", "url": "https://cobrancas.api.efipay.com.br/v1/subscription/:id/pay", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Define Subscription Payment Method" }, { "info": { "name": "Cancel Subscription", "type": "http" }, "http": { "method": "PUT", "url": "https://cobrancas.api.efipay.com.br/v1/subscription/:id/cancel", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Cancel Subscription" }, { "info": { "name": "Update Subscription Metadata", "type": "http" }, "http": { "method": "PUT", "url": "https://cobrancas.api.efipay.com.br/v1/subscription/:id/metadata", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Update Subscription Metadata" }, { "info": { "name": "Create Subscription History Note", "type": "http" }, "http": { "method": "POST", "url": "https://cobrancas.api.efipay.com.br/v1/subscription/:id/history", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Create Subscription History Note" }, { "info": { "name": "Send Subscription Link Email", "type": "http" }, "http": { "method": "POST", "url": "https://cobrancas.api.efipay.com.br/v1/charge/:id/subscription/resend", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Send Subscription Link Email" } ] } ], "bundled": true }