#chhay-api

1 messages · Page 1 of 1 (latest)

rare edge
#

hi! one is for a single payment and one is for setting up recurring payments, that's one way to think about it.

#

there are lots of differences though

marsh wave
#

PaymentIntent is for one-time payment, right?

rare edge
#

yes

marsh wave
#

OH BUDDHA

#

I got confuse since the beginning

rare edge
#

well, maybe not. why are you asking?

marsh wave
#

I thought the PaymentIntent is use for Recurring Payment

rare edge
#

well, in a way, kind of. Really depends what you mean

#

like, every payment is a PaymentIntent

#

a Subscription is a series of recurring payments, a Subscription creates an Invoice each month and the Invoice processes a PaymentIntent to charge the customer

marsh wave
rare edge
#

well to be clear, what are " CreatePaymentIntent & CreateSubscription" exactly? Like what are you referring to?

marsh wave
rare edge
#

ok!

rare edge
#

is there anything I can clarify?

#

if you're creating subscriptions you would use the Subscription APIs. For starting the subscription you create it, then use the first invoice's PaymentIntent to complete the first payment to activate it. After that point we generate an Invoice each month that automatically will create and charge a PaymentIntent, for instance.

patent oyster
#

Hey, taking over here. Let me know if there's any follow-up Qs I can answer!

marsh wave
#

I am sorry! I had urgent meeting...

#

Anyway, thank you so much for your clarify

#

let me go through the doc again

patent oyster
#

Let me know if you have any Qs