#chris_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/1382700288527433771
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
hello! looking into this now
any chance you have an example payment intent call that i can take a look at too?
Just the payload or a req_** id?
request ID should work! or the payment intent ID pi_******
sure this would be a pi_** ID => pi_3RYpYlFF5lHZS2fd1SjfSslr
ok, so for that payment intent it looks like it is available on the charge:
https://dashboard.stripe.com/test/events/evt_3RYpYlFF5lHZS2fd1IQ0C548
so if you listen for charge.succeeded you can see it there, or if you retrieve the PaymentIntent and expand the latest_charge you would see it
The thing is i have flow that i need to follow like this: payment_methods --> customers --> setup_intents --> setup_attempts
then i would need the network_transactin_id from setup_attempts
unfortunately i don't think we expose that anywhere for Setup Intents, with the exception of when you're using card_present which is terminal specific:
https://docs.stripe.com/api/payment_methods/object?api-version=2025-05-28.basil#payment_method_object-card-generated_from-payment_method_details-card_present-network_transaction_id
let me double check that for you though
I have an example response from the partner => Response Body:
{
"object": "list",
"data": [
{
"id": "setatt_1RWfHpIlzAEAxd7gOLr7nXMG",
"object": "setup_attempt",
"application": null,
"created": 1749135657,
"customer": "cus_SRYO9L4nPaAVOl",
"flow_directions": null,
"livemode": false,
"on_behalf_of": null,
"payment_method": "pm_1RWfHpIlzAEAxd7gsTsVB4k1",
"payment_method_details": {
"card": {
"brand": "mastercard",
"checks": {
"address_line1_check": null,
"address_postal_code_check": null,
"cvc_check": "pass"
},
"country": "US",
"ds_transaction_id": null,
"exp_month": 3,
"exp_year": 2030,
"fingerprint": "ZQGgGQIyaZQF2wJC",
"funding": "credit",
"last4": "5454",
"network": "mastercard",
"network_transaction_id": "MCCZQGGGQ0605",
"three_d_secure": {
"authentication_flow": null,
"electronic_commerce_indicator": "02",
"result": "authenticated",
"result_reason": null,
"transaction_id": "f74adc1f-2571-41b1-8d0e-b9e3ffb1b308",
"version": "2.2.0"
},
"wallet": null
},
"type": "card"
},
"setup_error": null,
"setup_intent": "seti_1RWfHpIlzAEAxd7g3S8O6EjP",
"status": "succeeded",
"usage": "off_session"
}
],
"has_more": false,
"url": "/v1/setup_attempts"
}
where they do get the network_transaction_id in the response of an setup_attempts if that helps
Their stripe api version is stripe-version: 2020-08-27 thats the only difference i could notice ๐
ok i found what i was looking for, this is a preview feature
let me see what the process is for getting it enabled
That would be really helpful thank you
ok cool, so if you check with our support team they can see if it's possible to get this enabled for your account specifically
https://support.stripe.com/
Oh so its not just a "checkbox" ? ๐
It is not I'm afraid
alright but if i tell the support to please enable the preview feature of network_transaction_id they should know what needs to be done?! ๐
Or is the feature called "preview" not that i missunderstand this ๐ค
Okay thank you then ill contact the support thanks for the support ๐