#binayak
1 messages ยท Page 1 of 1 (latest)
Hello ๐
What metadata are you referring to exactly?
Can you share an example?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
the response object
nope, I am seeing the string here
but .. when I am trying to use this https://stripe.com/docs/api/accounts/update
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
here, order_id is integer
hence confusion caused
What are you exactly referring to as a String?
Can you clarify with an example object or a request ID?
the use case is: I want to add a delay in payout, so I have to pass the account Id and order id. Order Id is coming from the PaymentIntents -capture
order id is a string.
string I mean alphanumeric
sorry I still don't understand what you're referring to as an order ID
Please share a PaymentIntent object or a screenshot so that we can be on the same page.
For example;
"id": "pi_1EUmy6285d61s2cIjF1kga7T",
"object": "payment_intent",
"amount": 1099,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},```
if you're referring to the object ID then it will always be a string
We don't insert anything to object's metadata so if you're seeing a value there then it must be coming from your own code
again, concrete examples would help
wait sending
const stripe = require('stripe')('sk_test_51J7k95Cd3LRlmO28v32DBPeCbJpjoe2b8YLeayKF1bHmh1nHPOdcTSWPT6q5lOve1uTNfXm8g0Ku0Qu1zxDKH3in007t6jQqsQ');
// To create a requires_capture PaymentIntent, see our guide at: https://stripe.com/docs/payments/capture-later
const paymentIntent = await stripe.paymentIntents.capture(
'pi_3LkReOCd3LRlmO280K696yVD'
);const stripe = require('stripe')('sk_test_51J7k95Cd3LRlmO28v32DBPeCbJpjoe2b8YLeayKF1bHmh1nHPOdcTSWPT6q5lOve1uTNfXm8g0Ku0Qu1zxDKH3in007t6jQqsQ');
// To create a requires_capture PaymentIntent, see our guide at: https://stripe.com/docs/payments/capture-later
const paymentIntent = await stripe.paymentIntents.capture(
'pi_3LkReOCd3LRlmO280K696yVD'
);
this code has this output
check metadata
order_id
man its your doc.. both links I provided with details.. still
Its clearly your code sending the metadata
https://dashboard.stripe.com/test/logs/req_NpQLj5b9JE8pe9
If you look at your request parameters, you're passing the orderID
alright.