question

adil avatar image
adil asked Richelle Herrli commented

How to get clover order reciept id ?

I need to get this id so that i can save it in my database for later viewing purpose.

so my question is how can i get this id of a created atomic order ?

1632935609338.png

REST API
1632935609338.png (388.9 KiB)
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

·
Richelle Herrli avatar image
Richelle Herrli answered Richelle Herrli commented

Who is creating the atomic order? When you create an atomic order, the response body will return the UUID in the id field.

2 comments
10 |2000

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

adil avatar image adil commented ·
i got the answer thanks.

payments webhook event is returning the payment id i have used that.

0 Likes 0 ·
Richelle Herrli avatar image Richelle Herrli ♦♦ adil commented ·
Okay. You can also use the Orders webhook to get the UUID of the order. The Payments UUID may require more digging in order to get the order the payment was attached to.
0 Likes 0 ·

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