PayWay v0.1.0 PayWay.API.PaymentMethod
Customer’s payment method handling.
Link to this section Summary
Functions
Adds and stores a user’s payment method in PayWay
Link to this section Types
Link to this type
payment_method()
payment_method :: %PayWay.PaymentMethod.CreditCard{cardNumber: term, cardholderName: term, cvn: term, expiryDateMonth: term, expiryDateYear: term, paymentMethod: term} | %PayWay.PaymentMethod.BankAccount{accountName: term, accountNumber: term, bsb: term, paymentMethod: term}
Link to this section Functions
Adds and stores a user’s payment method in PayWay.
A PayWay receivable account (either a merchant ID or a bank account ID) needs to be specified. According to Westpac, the receivable account is not enforced and therefore can be overwritten at the time of payment.