send_payment_form


Description:

public async PaymentResult send_payment_form (InputInvoice input_invoice, int64 payment_form_id, string order_info_id, string shipping_option_id, InputCredentials credentials, int64 tip_amount) throws TDLibError

Sends a filled-out payment form to the bot for final verification

Parameters:

input_invoice

The invoice

payment_form_id

Payment form identifier returned by Client.get_payment_form

order_info_id

Identifier returned by Client.validate_order_info or an empty string

shipping_option_id

Identifier of a chosen shipping option, if applicable

credentials

The credentials chosen by user for payment; pass null for a payment in Telegram Stars

tip_amount

Chosen by the user amount of tip in the smallest units of the currency