#Kamon

1 messages ยท Page 1 of 1 (latest)

barren leafBOT
nova moon
#

Hello ๐Ÿ‘‹

For grouping multiple SCP charges into one transfer and using transfer_group, is there a problem with having all charges for a customer being under the same transfer group?
I don't think so, are you thinking of any specific ones?

pearl goblet
#

Howdy!
No, just wondering if it'd be problematic like, for say, 1000 charges ranging over 5 years were all part of the same transfer group ๐Ÿ˜‚

#

Rubeus also mentioned that I could use metadata to do that, which I can't find anywhere in the docs.

#

The docs mention a group needs to represent "one business action"

#

What does that even mean?

#

And, what would happen if I didn't even have a transfer group?

nova moon
#

Good question, thinking..

pearl goblet
#

No worries, take your time!

#

I'm in no rush, just want a solid confirmation ๐Ÿ™‚

#

(even if it takes a day or two, haha)

nova moon
#

No, just wondering if it'd be problematic like, for say, 1000 charges ranging over 5 years were all part of the same transfer group ๐Ÿ˜‚
I don't think that would be a problem really. The transfer_group allows you to group charges under one umbrella. I don't think there should be any issues as such.

Rubeus also mentioned that I could use metadata to do that, which I can't find anywhere in the docs.
I believe Rubeus was referring to metadata property on the PaymentIntent object
https://stripe.com/docs/api/errors#errors-payment_intent-metadata

You can technically store any information (in key: value format) as metadata

The docs mention a group needs to represent "one business action"
I'm not sure but I'm interpreting the doc as if you use a certain string for transfer_group on PaymentIntent then you should use the same one on the transfer. So like if you use string transfer_group: 'xyz' for PaymentIntent then use the same string on transfer object, not transfer_group: 'abc'

#

And, what would happen if I didn't even have a transfer group?
I don't believe it would have any effect on the API operation.
It just wouldn't associate the transfer to any group

pearl goblet
#

Fantastic, thank you for that information!

#

Hanzo stan for life now

nova moon
#

NP! ๐Ÿ™‚ Happy to help
Good Luck