-
-
Notifications
You must be signed in to change notification settings - Fork 86
03. Payment method API
Vincent Kok edited this page Dec 4, 2023
·
1 revision
Mollie allows you to set offset and count properties so you can paginate the list. The offset and count parameters are optional.
using IPaymentMethodClient _paymentMethodClient = new PaymentMethodClient("{yourApiKey}");
ListResponse<PaymentMethodListData> paymentMethodList = await this._paymentMethodClient.GetPaymentMethodListAsync();
foreach (PaymentMethodResponse paymentMethod in paymentMethodList.Items) {
// Your code here
}
using IPaymentMethodClient _paymentMethodClient = new PaymentMethodClient("{yourApiKey}");
PaymentMethodResponse paymentMethodResponse = await paymentMethodClient.GetPaymentMethodAsync(PaymentMethod.Ideal);