#dco_api
1 messages ¡ Page 1 of 1 (latest)
đ 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/1402177536695472300
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi there, I will need more information to be able to answer your question. What do you mean contact information and could you describe the issue you're trying to solve?
If i take a look on the dashboard each transaction is attached to contact informations. How can i use the API to get that information
You might be referring to the payment method's details. For me to be sure, could you share with me a payment ID? It should be prefixed with pi_xxxxxx
That's likely the customers' emails, but how you retrieve it will depend on how payments are created in your Stripe account. Are you using Stripe Checkout or Stripe Billing?
I don't know. How can i check that ?
I can't accurately determine without looking at a payment example. Could you share with me a PaymentIntent ID please?
It should be prefixed with pi_xxxxxx
could you copy and paste the payment ID for me please
pi_3RsPRTLVU6CBpTGh1ix3gUmI
thank you, give me awhile to check
Your integration creates PaymentIntents directly, and the Description you're looking for exist on the Customer object's description: https://docs.stripe.com/api/customers/create#create_customer-description
So if you retrieve the associated customer object (cus_So1UIPl80y7Yxv), you should be able to obtain the information you're looking for
You can retrieve the PaymentIntent via API and look up the customer parameter
can you send me a screenshot of the api documentation ?
I can provide you the direct link to the parameter which would be more helpful: https://docs.stripe.com/api/payment_intents/create#create_payment_intent-customer
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
i think you missunderstood. I am starting from the transaction. https://docs.stripe.com/api/balance_transactions/list.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
You can't retrieve the customer from the Balance Transaction object
Do you know if it will be possible in the future ?
I do not, I'm sorry. The Balance Transaction object is build to represents funds movement to your Stripe account balance. For payment-level information such as the Customer ID, we recommend it to obtain it from the PaymentIntent directly