Assumptions
~~1. ApiBankingCred has 'password'~~
- Payment should have IMT passcode (to resend email) ~~3. Payment Account to have credential method, that will return the ApiBankingCred (basis the envronment/star/bank_name of self)~~
Questions
- How do I get api credentials from a bank_beneficiary?
- How do I get service subscriptions from a bank_beneficary?
Improvements
- Payment should have the debit account detail & complete beneficiary address
- Payment should not have environment (it can pick it up from Payment Account), unless payment_account_id is being removed
- Payment Account should not have transfer_type
- Payment Account to be renamed Bank Account
- Service Subscription needs to be per service, not for an operation
- Service Subscription to store a config hash, instead of app_id (different services will have different configs)
- Use t.number for migration