Org Web Adapter

pages/mmpy_419_update_all_tbd_items_in_legacy_payout_endpoint.org

ID
5c60a59a-65ea-442b-94b1-6e85164a7652

MMPY-419 Update all TBD items in legacy payout endpoint

- source :: https://multimediallc.atlassian.net/browse/MMPY-419

- tags :: Falcon Nest Project Story Falcon Nest Project

- epic :: MMPY-274 Payout Method UI for all payout methods

- sprint :: MM Sprint 25

- status :: Status - Complete

Tasks

DONE Fix typed dict error in service model schema

bugprojectmmpaysdkmultimediallcmmpy274mmpy419work
ID
c4fd48fd-1960-e5a4-8a7f-f7c990eb0c19

https://github.com/multimediallc/mm-pay-internal/blob/3b7106a389c119eadcaf815fdb11bbd81b035406/mm-pay-sdk/mm_pay_sdk/services/models.py

DONE Clean up ACH numbers using bank account details

featureprojectmmpaysdkmultimediallcmmpy274mmpy419work
ID
180f3be6-dfa5-5a68-5b32-448c687193b2

#+begin_src python

'ach_account_number': if payee_account.payment_method.name == ach, payee_account.bank_account_detail.account_number,

'ach_routing_number': if payee_account.payment_method.name == ach, payee_account.bank_account_detail.routing_number,

'ach_bank_account_type': if payee_account.payment_method.name == ach or == wire, payee_account.bank_account_detail.type,<-- this is a correction

#+end_src

DONE Clean up Wire details

featureprojectmmpaysdkmultimediallcmmpy274mmpy419work
ID
1c6ea597-d287-0a03-52b3-f996de1a3723

- Note taken on

Mostly just needed to review the requirements this morning, and put in an explicit comment about a funny requirement. PR is out of draft now.

#+begin_src python

'wire_aba_routing_number': if payee_account.payment_method.name == wire && country in (US, CA), payee_account.bank_account_detail.routing_number, otherwise blank,

'wire_account_number': if payee_account.payment_method.name == wire && payee_account.bank_account_detail.international_account_number is None, payee_account.bank_account_detail.account_number otherwise blank,

'wire_misc_info': always send empty string, this is ignored in payouts

'wire_iban': if payee_account.payment_method.name == wire, payee_account.bank_account_detail.international_account_number,

'wire_bic_swift_code': if payee_account.payment_method.name == wire, payee_account.bank_account_detail.identifier,

'wire_phone_number': always send empty string, this no longer is being used: https://github.com/multimediallc/chaturbate/blob/068d7f01e79eebe45c33dccc87e7309acde6efad/static/js/paymentinfo.js (field never shows)

'ach_bank_account_type': if payee_account.payment_method.name == ach or == wire, payee_account.bank_account_detail.type,<-- this is a correction

#+end_src

Background

Ticket MMPY-284 - Endpoint for creating legacy payout info in CB had some gaps and

corrections. This ticket is to plug those gaps. Requires some additional fields

from this epic.