payments.sendPaymentForm

Send compiled payment form

payments.paymentResult#4e5f810d updates:Updates = payments.PaymentResult;
payments.paymentVerificationNeeded#d8411139 url:string = payments.PaymentResult;
---functions---
payments.sendPaymentForm#2b8879b3 flags:# msg_id:int requested_info_id:flags.0?string shipping_option_id:flags.1?string credentials:InputPaymentCredentials = payments.PaymentResult;

Parameters

Name Type Description
flags # Flags, see TL conditional fields
msg_id int Message ID of form
requested_info_id flags.0?string ID of saved and validated order info
shipping_option_id flags.1?string Chosen shipping option ID
credentials InputPaymentCredentials Payment credentials

Result

payments.PaymentResult

Possible errors

Code Type Description
400 BOT_METHOD_INVALID This method can't be used by a bot
400 MESSAGE_ID_INVALID The provided message id is invalid

Related pages

payments.ValidatedRequestedInfo

Validated user-provided info