def pay(self, input=None, action=None, status_callback=None,<EOL>status_callback_method=None, timeout=None, max_attempts=None,<EOL>security_code=None, postal_code=None, payment_connector=None,<EOL>token_type=None, charge_amount=None, currency=None, description=None,<EOL>valid_card_types=None, language=None, **kwargs):
return self.nest(Pay(<EOL>input=input,<EOL>action=action,<EOL>status_callback=status_callback,<EOL>status_callback_method=status_callback_method,<EOL>timeout=timeout,<EOL>max_attempts=max_attempts,<EOL>security_code=security_code,<EOL>postal_code=postal_code,<EOL>payment_connector=payment_connector,<EOL>token_type=token_type,<EOL>charge_amount=charge_amount,<EOL>currency=currency,<EOL>description=description,<EOL>valid_card_types=valid_card_types,<EOL>language=language,<EOL>**kwargs<EOL>))<EOL>
Create a <Pay> element

:param input: Input type Twilio should accept
:param action: Action URL
:param status_callback: Status callback URL
:param status_callback_method: Status callback method
:param timeout: Time to wait to gather input
:param max_attempts: Maximum number of allowed retries when gathering input
:param security_code: Prompt for security code
:param postal_code: Prompt for postal code and it should be true/false or default postal code
:param payment_connector: Unique name for payment connector
:param token_type: Type of token
:param charge_amount: Amount to process. If value is greater than 0 then make the payment else create a payment token
:param currency: Currency of the amount attribute
:param description: Details regarding the payment
:param valid_card_types: Comma separated accepted card types
:param language: Language to use
:param kwargs: additional attributes

:returns: <Pay> element