#teamtalk
1 messages · Page 1 of 1 (latest)
Yes, for destination charges the receipt_url will be on the charge that is created on your PaymentIntent https://stripe.com/docs/api/charges/object#charge_object-receipt_url
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
If you are using a recent version of the API, you can see this on the PaymentIntent as latest_charge, older versions have a charges list. You can expand those properties to get the receipt URL back with the rest of the paymentintent info https://stripe.com/docs/api/expanding_objects
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Ok when testing I expand that charge object and inside the data array is the url but that seems to be the platforms brand
Ah gotcha, so the branding settings depend on who the merchant of record is. By default that is your platform account but you can change that with the on_behalf_of parameter https://stripe.com/docs/connect/destination-charges#settlement-merchant
I'd reccommend reading that full section, Merchant of Record has implications like who shows up on the statement descriptor and what support information shows up on the bank statement
Already use behalf of
Sorry not expand - I am using an older version of the API. in the charges object there is a data array. Are you refering to that or an expandable one
Gotcha, not sure why the connected account's branding is not being used. Will check in to this and get back to you
If you are already expanding the charges array here, that is all you should need to do to get this URL.
I am not expanding as documented - but I get a receipt url like this $intentResponse->charges->data[0]->receipt_url; php
I am not immediately finding more info on this. I will ask my colleagues and get back to you with what we can find.
@crimson tiger Reach out to our support about this, they should be able to enable it for your account https://support.stripe.com/?contact=true
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
After they have enabled it, your OBO destination charge receipts should automatically start using the connected account's branding going forward
Great thank you!