Overview
monei.payment_method provides methods to save and manage cards or bank accounts for fast repeat deposits.
Note: All methods return response objects with attributes accessible via dot notation (e.g.,pm.id,pm.last4).
List Payment Methods
Add a Payment Method
Get Payment Method Details
Set Default Payment Method
Delete a Payment Method
Working with Response Objects
All methods return objects with attribute access:Response Types
PaymentMethodDto
PaymentMethodsListDto
Error Handling
All payment method calls may raise an exception if the request fails.Service Overview
Notes
- All methods require a properly configured
MoneiClientinstance with authentication sub_wallet_idis required for listing payment methods- Card details are tokenized and securely stored
- Only the last 4 digits of card numbers are returned for security
- Setting a default payment method automatically updates the previous default
- Deleted payment methods cannot be recovered
- All responses are strongly typed objects with attribute access

