# Can I use Checkout API along with Subscription, Customer and Webhook APIs?

**URL:** <https://developer.squareup.com/forums/t/can-i-use-checkout-api-along-with-subscription-customer-and-webhook-apis/17820>\
**Category:** Questions\
**Tags:** subscriptions-api, checkout-api, webhooks-api, customers-api\
**Created:** [July 16, 2024, 7:17am UTC](https://developer.squareup.com/forums/t/can-i-use-checkout-api-along-with-subscription-customer-and-webhook-apis/17820 "2024-07-16T07:17:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dmitry](https://avatars.discourse-cdn.com/v4/letter/d/0ea827/32.png) [@Dmitry](https://developer.squareup.com/forums/u/Dmitry)\
**Post date:** [July 16, 2024, 7:17am UTC](https://developer.squareup.com/forums/t/can-i-use-checkout-api-along-with-subscription-customer-and-webhook-apis/17820/1 "2024-07-16T07:17:43Z")

</div>

Hello everyone!

I’m trying to implement SquareUp with my project where I have some special logic:

1. Use SquareUp-Hosted Checkout Page - it’s working already on my side
2. After successfull payment I would like to get some webhooks (Order created - it’s working fine, Customer created - system doesn’t fire it, I need to save customer token to make futher payments such as single payment or add subscription to customer, Subscription created - didn’t test it yet)
3. Once I get customer webhook and I save customer token, I offer customers to order subscription by one click (I’d like to use customer token to create subscription via api)

and I have a few questions:

1. is it possible to complete SquareUp integration with 2nd and 3rd points of my project’s logic?
2. if answer “yes” to above question, is it possible to create subscription via api with trial days?
3. if answer “yes” to above question, how can I solve issue with webhooks when it doesn’t fire?
4. I read some topics where it says that sandbox and production has differences and I need to test it with real payments, is it correct?

Best regards,  
Dmitry

---

<div class="post-metadata">

**Author:** ![Square-Dev-AI](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/square-dev-ai/32/2513_2.png) [@Square-Dev-AI](https://developer.squareup.com/forums/u/Square-Dev-AI)\
**Post date:** [July 16, 2024, 7:18am UTC](https://developer.squareup.com/forums/t/can-i-use-checkout-api-along-with-subscription-customer-and-webhook-apis/17820/2 "2024-07-16T07:18:03Z")

</div>

👋 I’m Square Dev AI, here to help answer your question!  
Based on the information you’ve provided, the following documentation will help answer your question:

> **[Use Customer Webhooks](https://developer.squareup.com/docs/customers-api/use-the-api/customer-webhooks)**
>
> Learn how to configure webhooks to get notified of events when a customer profile is created, updated, deleted, or merged.

> **[Create and Publish Invoices](https://developer.squareup.com/docs/invoices-api/walkthrough)**
>
> Learn how to use the Invoices API to send an invoice to a customer and to automatically charge a card on file.

> **Additional Documentation**
>
> [Payment API: Process Online and In-Person Payments](https://developer.squareup.com/docs/payments)  
> [Payments API Webhooks](https://developer.squareup.com/docs/payments-api/webhooks)  
> [Subscription Plan Checkout](https://developer.squareup.com/docs/checkout-api/subscription-plan-checkout)

If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.  
Otherwise one of our Developer Advocates will provide additional assistance shortly.

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [July 16, 2024, 4:07pm UTC](https://developer.squareup.com/forums/t/can-i-use-checkout-api-along-with-subscription-customer-and-webhook-apis/17820/3 "2024-07-16T16:07:01Z")

</div>

A customer will be added to a payment from a checkout link. However there isn’t a way to configure the checkouts to store a card on file.

Is there a reason that you wouldn’t initially sign the customer up for a subscription and then if they choose to upgrade use the Subscriptions API to update the subscription? 🙂
