Subscription and customer creation optimization

πŸ” Problem Statement

Creating a subscription with a new customer requires multiple sequential API calls (create customer, create address, create payment method, create subscription). This multi-step process is slow, error-prone, and creates orphaned records if any step fails midway.


πŸ’‘ User Story

As a developer, I want a single API call that creates a customer and subscription together, so that the entire operation is atomic β€” reducing latency, complexity, and the risk of partial/orphaned records.


🎯 Definition of Done (DoD)

A feature is done when:

βœ”οΈ Given a subscription creation request with inline customer data, when the API call is made, then the customer, address, payment method, and subscription are created atomically β€” and if any step fails, the entire operation is rolled back.

Please authenticate to join the conversation.

Upvoters
Status

Backlog

Board
πŸ’‘

Pelcro Product

Tags

Product Board

Date

9 months ago

Author

An Anonymous User

Subscribe to post

Get notified by email when there are changes.