Skip to main content
Solved

Do "transferred_from" and "transferred_to" always have the same number of elements?

  • February 24, 2023
  • 1 reply
  • 129 views

Forum|alt.badge.img+1

The context is TRANSFER webhook event. I assume the two lists always have the same length. So we have a one-to-one transfer map, like transferred_from[k] to transferred_to[k]. Is my assumption correct?

Best answer by Yousef

Not always, these will be arrays of App User ID’s, which can be one or more depending on the amount of aliases that the customer has. It may look like this for example,

"transferred_from": ["$RCAnonymousID:123452686c894a6a91e812725e6f1158"],
"transferred_to": ["$RCAnonymousID:67894ce91fb40d897d57e6fdb884ef3", "304745522234"]

This paragraph may also be helpful for understanding why this is: What is a customer in RevenueCat?

View original
Did this post help you find an answer to your question?
This post has been closed for comments

1 reply

Forum|alt.badge.img+7
  • Dedicated Contributor
  • 62 replies
  • Answer
  • February 24, 2023

Not always, these will be arrays of App User ID’s, which can be one or more depending on the amount of aliases that the customer has. It may look like this for example,

"transferred_from": ["$RCAnonymousID:123452686c894a6a91e812725e6f1158"],
"transferred_to": ["$RCAnonymousID:67894ce91fb40d897d57e6fdb884ef3", "304745522234"]

This paragraph may also be helpful for understanding why this is: What is a customer in RevenueCat?


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings