transformToPaymentMethodCreateParams

This function will convert fieldValuePairs to PaymentMethodCreateParams.