Stored customer payment methods.
Summary
Functions
Calls Dodo operation customer_payment_methods_delete (DELETE /customers/{customer_id}/payment-methods/{payment_method_id}). Required parameters: none.
Calls Dodo operation customer_payment_methods_list (GET /customers/{customer_id}/payment-methods). Required parameters: none.
Functions
@spec delete( DodoPayments.Client.t(), String.t() | integer(), String.t() | integer(), keyword() ) :: {:ok, nil | DodoPayments.Response.t(nil)} | {:error, Exception.t()}
Calls Dodo operation customer_payment_methods_delete (DELETE /customers/{customer_id}/payment-methods/{payment_method_id}). Required parameters: none.
Options are request-local.
@spec list(DodoPayments.Client.t(), String.t() | integer(), keyword()) :: {:ok, DodoPayments.CustomerPaymentMethodsResponse.t() | DodoPayments.Response.t(DodoPayments.CustomerPaymentMethodsResponse.t())} | {:error, Exception.t()}
Calls Dodo operation customer_payment_methods_list (GET /customers/{customer_id}/payment-methods). Required parameters: none.
Options are request-local.