transformToPaymentMethodOptionsParams

This function will convert fieldValuePairs to PaymentMethodOptionsParams.