question

chintanbug avatar image
chintanbug asked bryanvargas edited

From the API how can i check the checkout session status, please share API?

Hello,

Can you please share the API which i can use to check the status of the checkoutSessionId which i generated via https://api.clover.com/invoicingcheckoutservice/v1/checkouts

I am aware that there is a webhook... but what if i want to check the status on demand if the webhook failed?

REST API
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
bryanvargas avatar image
bryanvargas answered bryanvargas edited

You can try to do a GET. But the checkout sessions will only show in the merchant dashboard once it is paid, therefore they only option is to rely on the webhook. Session tokens are only 15 min so if they do not pay within 15 min you will have to send another one.

https://docs.clover.com/docs/creating-a-hosted-checkout-session

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community