Skip to main content
This example shows how to perform the same flow using raw HTTP requests with cURL. This is useful for testing or for languages without an official SDK.

1. Create Customer

Response:

2. Create Subscription

Take the id from the previous response (e.g., cus_12345) and use it to create a subscription.
Response: