#Nadiya-webhooks

1 messages · Page 1 of 1 (latest)

wheat fox
jovial kiln
#

Thanks, i would like to perform set of operation only from 2nd invoice. Is it possible to check that?

wheat fox
#

subscription_create indicates an invoice created due to creating a subscription. subscription_update indicates an invoice created due to updating a subscription.

jovial kiln
#

sorry, still don't get it. What will be the default billing cycle for a recurring payment?

#

subscription_update?

wheat fox
#

yes, subscription_update

jovial kiln
#

First invoice will be having subscription_create and the rest will be having subscription_update?

wheat fox
#

yep, that's right

jovial kiln
#

ok, understood.
Thank you !

jovial kiln
#

i tested the subscription using test clock, but the billing_reason showing subscription_cycle

wheat fox
#

oh, sorry about that, actually yes - subscription_cycle should be the correct reason to look at. As the docs mention : subscription_cycle indicates an invoice created by a subscription advancing into a new period.

jovial kiln
#

i see..