#haktar
1 messages ยท Page 1 of 1 (latest)
Hi ๐
The Payment Method value on the Intent is an ID for a Payment Method object. You can see the reference for the full object here: https://stripe.com/docs/api/payment_methods/object
When this Payment Method is of the Type card the card proeprty will include the card brand, which we show here
https://stripe.com/docs/api/payment_methods/object#payment_method_object-card-brand
Hey, is there an endpoint I need to hit for this? It's not in the payload and I'm missing it right?
All the information you need is in the documents I linked. If you are confused about them can you please refer to a specific section so I know what you are referring to?
I'm using the php library, I'm not sure what I should hit with the payment method value to get the card brand back
On the links it looks like CURL endpoints, can it be done using the library?
I'm sorry you are still not referring to a specific section of the documenation I provided. Can you please make a reference to a specific example so I can help you?
Sorry I'm referring to the endpoints linked at the top of the links
I'm sure these are available in the library rather than having to hit them using CURL
THat doesn't look like any of the documents i provided
What doc are you referring to?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
This is the CURL documentation I think, just curious if there is documentation to do this using the library
You can select the language you want for each of the code snippets in that doc
You are looking at the object reference but we have sub-sections for the actions you can take with each API and what the parameters are. For instance, here is how you create a Payment Intent: https://stripe.com/docs/api/payment_methods/create
The code snippet to right has a select widget and you can select PHP