Skip to main content

Overview

monei.paymentMethod provides methods to save and manage cards or bank accounts for fast repeat deposits.

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 property access:

Response Types

PaymentMethodDto


Error Handling

All payment method calls may throw an error if the request fails.

Service Overview


Notes

  • All methods require a properly configured MoneiClient instance with authentication
  • subWalletId is 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 property access