Solved

Missing field in transfer webhook event (sandbox)

  • 20 January 2023
  • 2 replies
  • 67 views

Badge +4

I got the following event through webhook:
 

{
    "event_timestamp_ms" : 1674239936328.0,
    "store" : "APP_STORE",
    "transferred_from" : [ 
        "84c2523f-2f06-49af-886c-a151cc630232"
    ],
    "transferred_to" : [ 
        "48f3ab7f-86fd-45a3-9bf6-db8edeea0904"
    ],
    "type" : "TRANSFER",
    "id" : "00DC5B1C-3166-47FB-8F19-AB2B406F8484",
    "app_id" : "app9a300b6a91"
}

 

Is it expected? There is no product_id, so I don’t know what should I transfer.

icon

Best answer by Haley Pace 23 January 2023, 22:06

View original

2 replies

Userlevel 4
Badge +8

Yes this is expected. Webhook transfer events are a transfer of all transactions and entitlements between one App User ID(s) to another, see here for more details: https://www.revenuecat.com/docs/webhooks

Badge +5

I am having the same information. The TRANSFER event just has source and destination. I understand that it includes everything, but that means further work needs to be done. What would this work be if there is not product nor entitlement ids? How do we get these?

I am using the client sdk and firebase webhooks. No API at this time and would like to avoid it and use as much out-of-the-box.

Is the only option to query RC via the API to know what exactly is being transferred?

Reply