#323 — Facade API-s to create Plans, Subscriptions, Payment Links

Repo: Twill-AI/facade State: closed | Status: done Assignee: Unassigned

Created: 2025-04-09 · Updated: 2025-09-15

Description

Request

In order to allow create Recurring Plans, Payment Links and Subscriptions need to implement proxies to https://docs.payengine.co/api-reference/scheduled-payments/plans/create-payment-link, https://docs.payengine.co/api-reference/scheduled-payments/subscriptions/createsubscription and https://docs.payengine.co/api-reference/transactions/payment-links/create-payment-link respectively API-s.

Acceptance criteria

  • Facade serves POST /integrations/{integration_id}/plans to create recurring plans in PayEngine.
  • Facade serves POST /integrations/{integration_id}/subscriptions to create subscriptions in PayEngine.
  • Facade serves POST /integrations/{integration_id}/paymentlinks to create payment links in PayEngine.
  • Logic above is covered with unit tests.
  • https://twillpayments.atlassian.net/wiki/spaces/TD/pages/7929859/Facade+API is updated.

Implementation details

In general very similar to https://github.com/Twill-AI/facade/issues/312. Found few more documentation issues in PayEngine - https://twill-network.slack.com/archives/C08FBV96E4R/p1744903482468559

Notes

Add implementation notes, blockers, and context here

Add wikilinks to related people, meetings, or other tickets