#cc_api

1 messages ยท Page 1 of 1 (latest)

static oxideBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1496802739122864229

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

marsh cypress
#

The likelihood is that you'll need to set some metadata on the PL that persists on Payment Intents it generates, and you can use that to tie it back from the Balance Trasnaction

#

e.g. set payment_intent_data[metadata] on your Payment Link(s), and then that is set on the resulting Payment Intent. Then you can get to that from the Balance Transaction by expanding source.payment_intent

latent moon
#

Thankyou sir, how can i set payment_intent_data[metadata], can you please send me a screenshoot

marsh cypress
#

Are you using the API, or the Dashboard to create Payment Links?

latent moon
#

Dashboard

marsh cypress
#

I don't think that is supported there today ๐Ÿ™

latent moon
marsh cypress
#

Not sure what you're showing me here

latent moon
#

metadata is set in payment link dashboard, But not display in balance transactions

marsh cypress
#

Can you share the pi_xxx ID of a payment you're looking at?

latent moon
#

Transaction: pi_3TPJlpPt6eIFbWc22Hv2jMjp

marsh cypress
#

Thanks, checking

#

But there's no way to get to that object/metadata from the Balance Transaction sadly

static oxideBOT
latent moon
#

Okay, Is there another way to identify the transactions(from payment link, from API)

marsh cypress
#

A few more steps, but should work