Obtain VAT (TAX) number and company name from Payment Intent

13 views
Skip to first unread message

Jan Verderber

unread,
Oct 2, 2024, 12:40:26 PM10/2/24
to Stripe API Discussion
Hello,

I would like to know how to obtain the VAT number and company name, that customers input in the checkout page:
stripe_vat_and_company_name.png

I already looked through the API documentation and can not find these two elements in the examples.

If you can't get it from PaymentIntent, can you get it from Customer or Subscription object?

Thanks and best regards
Jan

Remi J.

unread,
Oct 2, 2024, 12:47:58 PM10/2/24
to api-d...@lists.stripe.com
Hello Jan,

You're using Stripe Checkout to collect the tax id from your end customer and the information will be available on the Checkout Session object [1] inside the `customer_details[tax_ids]` property [2], This is covered in our docs about tax id collection in this section [3].

You can also alternatively use the List Customer TaxIds API [4] afterwards if you want to expose any tax id information collected for that customer.

Hope this helps but if you have follow up questions feel free to reach out to our support team [5]!
Best,
Remi



To unsubscribe from this group and stop receiving emails from it, send an email to api-discuss...@lists.stripe.com.
Reply all
Reply to author
Forward
0 new messages