#edem-transfer

1 messages ยท Page 1 of 1 (latest)

pastel anchor
#

hi! do you have an example object ID/some JSON I can look at?

left tide
#

Can I show you some pieces of code?

pastel anchor
#

sure, anything would help

left tide
#

we get null for source_transfer and null for refund ' TransferReversal (had to use souce_transfer_reversal object) ๐Ÿ˜ฆ

pastel anchor
#

any example object IDs where that happened?

left tide
#

txn_3L8oa5FS7xrDmbDe03BpoviP

plush hound
#

Hello ๐Ÿ‘‹
Stepping in here as karllekko needs to step away soon

#

Let me take a look ๐Ÿ™‚

left tide
#

hi, Hanzo!)

#

Do you need more data?

pastel anchor
#

nope, just investigating

#

so that transaction wouldn't have a transfer. It's the balance transaction for a Direct Charge as far as I can tell.

#

maybe your code expects to only work with Destination charges and this one is Direct? Give me a second to explain the data model for Destination in Connect

#

if it's a Destination charge then you have these objects
platform:
Charge ch_xxx
Transfer re_xxx

connected account:
payment py_xxx <--- this is the funds from the transfer arriving

when you issue a refund and use the reverse_transfer option you end up with this :
platform:
Refund re_xxx
TransferReversal trr_xxx

connected account:
PaymentRefund pyr_xxx <--- this is the transfer being reversed