#Dheeraj - Retry Charge

1 messages ยท Page 1 of 1 (latest)

tidal sonnet
glacial raven
#

I was wondering if I can possibly get a small example of how I would approach that?

#

In terms or parameters

tidal sonnet
#

Okay well this is a form you are maintaining, correct?

#

In that case I would trigger 2 api calls. The first to the Update Invoice API and set the metadata = {invoice_note_04133033: "This is my note"}

#

Then you use the payment method you have captured to pay the invoice.

#

Does that make sense?

glacial raven
#

Yep, that makes sense! Last question the number on that note, is it random or to keep track of how many notes?

tidal sonnet
#

I added it myself as a way to keep track of the date when the note was created. That way if you have multiple notes you don't run into key errors using the same note key.

glacial raven
#

I see that makes a lot of sense thank you for all your help!

tidal sonnet
#

Always happy to help ๐Ÿ™‚
I hope it works out for you