payments.sendPaymentForm
Send compiled payment form
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
form_id | long | Ja | Formular-ID |
invoice | InputInvoice | Ja | Rechnung |
requested_info_id | string | Nein | ID of saved and validated [order info](https://core.telegram.org/constructor/payments.validatedRequestedInfo.md) |
shipping_option_id | string | Nein | Chosen shipping option ID |
credentials | InputPaymentCredentials | Ja | Zahlungsinformationen |
tip_amount | long | Nein | Tip, in the smallest units of the currency (integer, not float/double). For example, for a price of `US$ 1.45` pass `amount = 145`. See the exp parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json), it shows the number of digits past the decimal point for each currency (2 for the majority of currencies). |
Antworten
payments.PaymentResult
MTProto RPC
- 400 · FORM_UNSUPPORTED – Bitte aktualisieren Sie Ihren Client.
- 400 · INVOICE_INVALID — Die angegebene Rechnung ist ungültig.
- 400 · MESSAGE_ID_INVALID – Die angegebene Nachrichten-ID ist ungültig.
- 400 · PAYMENT_CREDENTIALS_INVALID — Die angegebenen Zahlungsdaten sind ungültig.
- 400 · PEER_ID_INVALID – Die angegebene Peer-ID ist ungültig.
- 400 · TMP_PASSWORD_INVALID – Die übergebene tmp_password ist ungültig.