naftiko: 1.0.0-alpha2 info: label: At-Bay Partner API — Policies description: >- At-Bay Partner API — Policies. Manage bound policies, including pausing auto-renewal so a renewal must be created manually rather than automatically generated by At-Bay. tags: - At-Bay - Policies - Insurance - Renewals created: '2026-05-25' modified: '2026-05-25' binds: - namespace: env keys: AT_BAY_TOKEN: AT_BAY_TOKEN capability: consumes: - type: http namespace: policies baseUri: https://api.at-bay.com/v2 description: At-Bay Partner API policy endpoints. resources: - name: policy-pause-auto-renewal path: /policies/{policy_id}/pause-auto-renewal operations: - name: pauseAutoRenewal method: POST description: Pause Auto Renewal outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: policy_id in: path type: string required: true authentication: type: bearer value: '{{env.AT_BAY_TOKEN}}' placement: header exposes: - type: rest namespace: policies-rest port: 8080 description: REST adapter for At-Bay policy operations. resources: - path: /v1/policies/{policy_id}/pause-auto-renewal name: policy-pause-auto-renewal description: Pause auto-renewal on a policy. operations: - method: POST name: pauseAutoRenewal description: Pause Auto Renewal call: policies.pauseAutoRenewal with: policy_id: rest.path.policy_id