#Aleksandr | KAN | Backend

1 messages · Page 1 of 1 (latest)

main swanBOT
hushed flume
#

Hi! Let me help you with this.

#

How do you get such transactions in the first place?

quick patrol
#

I have a source that has a swift that can transfer money, it will be an international wire, how can I understand that it was an international wire?

hushed flume
#

Could you please share an example Source like this?

quick patrol
#

stripe.Source.retrieve('src_1NVV7cB1zIYIYo82QjFrzOhG', stripe_account='acct_1NVDNLB1zIYIYo82')

#
<Source source id=src_1NVV7cB1zIYIYo82QjFrzOhG at 0x7f570c9e8180> JSON: {
  "ach_credit_transfer": {
    "account_number": "test_49060df71d36",
    "bank_name": "TEST BANK",
    "fingerprint": "cWU1H9Fd4zVmj7mC",
    "refund_account_holder_name": null,
    "refund_account_holder_type": null,
    "refund_routing_number": null,
    "routing_number": "110000000",
    "swift_code": "TSTEZ122"
  },
  "amount": null,
  "client_secret": "src_client_secret_wyGaeHd3k9dDO5IvgBaMkrJh",
  "created": 1689752912,
  "currency": "usd",
  "customer": "cus_OI5I1RRdq94ooO",
  "flow": "receiver",
  "id": "src_1NVV7cB1zIYIYo82QjFrzOhG",
  "livemode": false,
  "metadata": {},
  "object": "source",
  "owner": {
    "address": null,
    "email": "striperepres9@stage.karta.io",
    "name": null,
    "phone": null,
    "verified_address": null,
    "verified_email": null,
    "verified_name": null,
    "verified_phone": null
  },
  "receiver": {
    "address": "110000000-test_49060df71d36",
    "amount_charged": 1000,
    "amount_received": 1000,
    "amount_returned": 0,
    "refund_attributes_method": "email",
    "refund_attributes_status": "missing"
  },
  "statement_descriptor": null,
  "status": "pending",
  "type": "ach_credit_transfer",
  "usage": "reusable"
}
#

In general, I need to understand how I should understand that this payment is international wire
As I understand it, for international details there is a source that has a swift code, and if someone from another country sends funds using this swift code, then we will somehow receive a webhook from which I need to understand that the payment was international wire

hushed flume
quick patrol
#

and ach_credit_transfer has swift_code

hushed flume
#

I believe the presence of swift_code is your best bet. But otherwise I don't really know. Sources is a deprecated concept now, and there's not much info about it.

quick patrol
#

using this source, ach, wire, and international_wire can come, right?

mental ivy
#

Hi there 👋 jumping in as my teammate needs to step away soon. Is what you're trying to accomplish is to be able to differentiate ACH transfers from Wire Transfers when accepting ach_credit_transfer payments?

quick patrol
#

yes, I need to distinguish ach, wire and international wire

mental ivy
#

Gotcha, offhand I don't think that is possible, but I will double check that.

quick patrol
#

Check, please

mental ivy
#

I am

#

Yeah, I'm not seeing anything in our API objects that exposes that level of detail, but I will capture your feedback for our teams that this is something you'd like to see added.

quick patrol
#

understood thanks