#Ravisankar-refund-api

1 messages · Page 1 of 1 (latest)

merry cradle
#

Hello 👋
taking a look

brittle yew
#

Hi Hanzo!

merry cradle
#

thank you for your patience
still looking into it
Juggling between a few threads at the moment

brittle yew
#

No issues Hanzo!. Thanks for your response

merry cradle
#

thanks again for your patience!
The dashboard cancels the subscription without proration and then creates a credit note.
You can model the same flow using the API after cancelling a subscription

brittle yew
#

Hi Hanzo. Thanks. But how to calculate or get the prorate amount after the cancel subscription?

#

The balance amount will be needed to create the credit note against customer?

hidden wren
#

@brittle yew that's up to you to do the math if you don't want to use our proration. Or you prorate on cancelation and then you fix it with a credit note for example. Or you refund their most recent charge for that amount and zero out the balance

brittle yew
#

Thanks @hidden wren . I can understand the flow.

hidden wren
#

Awesome!

brittle yew
#

Sorry. One clarification when we use the prorate in cancellation is whether the credit note or refund will be automatically initiated or can we get the prorated amount details only?

hidden wren
#

There's no credit note created in the API unless you do it explicitly

#

I'd recommend just trying this in Test mode

brittle yew
#

Sure @hidden wren . What is the exact usage for prorate ?

hidden wren
#

I'm sorry I don't understand what your question means

#

prorate is a parameter that lets you decide whether to prorate (credit) the customer balance on subscription cancellation

brittle yew
#

Ok. As per my understanding, prorate parameter is helpful to automatically credit the prorated (Balance) amount in the customer's credit wallet balance. Is this correct?

#

Whether is the amount will credit immediately after the cancellation? Customers can reuse the balance immediately for new subscriptions?

hidden wren
#

yes

#

you can really test this in a few seconds in the API in Test mode

brittle yew
#

Very thanks for your update Koopajah