#sunny singh-automatic-pms
1 messages · Page 1 of 1 (latest)
Sure, we have an automatic payment methods feature which takes care of that
How are you integrating? Checkout?
i am using creating payment_method API
but dont have idea to for which is best method_type is best for your customer to pay money
I wouldn't recommend using that API directly. What are you trying to do?
Yep, you should capture that via Elements: https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=elements#web-collect-payment-details
can you give me the idea of any API fetch payment-method type on the location based?
is there any api in stripe?
Sure..
const stripe = require('stripe')('');
const reportRun = await stripe.reporting.reportRuns.create({
report_type: 'balance.summary.1',
parameters: {
interval_start: 1522540800,
interval_end: 1525132800,
},
});
in this api
interval_start: 1522540800,
interval_end: 1525132800,
I'd remove your secret key
It's a unix timestamp
okay