question

ezpays avatar image
ezpays asked David Marginian edited

Adding a note param in Clover charge API

How can I add the note param in charge API? Currently I used only currency, amount, source.

Let me know

Payments
10 |2000 characters needed characters left characters exceeded

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

1 Answer

· Write an Answer
David Marginian avatar image
David Marginian answered David Marginian edited

There is no "note" param on the charge API - https://docs.clover.com/reference#createcharge.

2 comments
10 |2000 characters needed characters left characters exceeded

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

then how can I post note?

0 Likes 0 ·

A payment doesn't have a note in our system, an order does. You would need to create a Clover order, which does have a "note" field. Since you aren't working with Clover inventory, you would use the APIs discussed here - https://docs.clover.com/docs/creating-custom-orders. You would then use the https://docs.clover.com/reference#postordersidpay to pay for the order.

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