How to get related transfer Id

Hi, if unverrified castomer from bank send to bank of Verified account on second leg and third leg of web hooks events there are customer_bank_transfer_created and customer_bank_transfer_completed webhooks with related resourceId (transfer Id). The question is how to know transfer Id from main transaction using this resourceId (transfer Id) from customer_bank_transfer_completed webhook ? Or there any other workaround?

Thanks

Hi @Yuriy_Dovhopol – you can use the funded-transfer and funding-transfer links in the transfer response to traverse back and forth in the transfer lifecycle.

  • Funded-transfer - funded-transfer is a link returned when retreiving a transfer which points to the transfer that is further ahead in the overall transfer life cycle. funded-transfer is a unique transaction created to route funds to the destination user and/or payment account.
  • Funding-transfer - funding-transfer is a link returned when retrieving a transfer which points to the transfer that is further behind in the overall transfer life cycle. funding-transfer is a unique transaction created to route funds from the source user and/or payment account to the destination user.

Additionally you can also use a correlationId when creating the transfer to make it easier to query related transfers - Transfer Lifecycle | Dwolla API Documentation

Hope that helps!