payments.sendPaymentForm
Send compiled payment form
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
form_id | long | はい | フォームID |
invoice | InputInvoice | はい | 請求書 |
requested_info_id | string | いいえ | ID of saved and validated [order info](https://core.telegram.org/constructor/payments.validatedRequestedInfo.md) |
shipping_option_id | string | いいえ | Chosen shipping option ID |
credentials | InputPaymentCredentials | はい | 支払い認証情報 |
tip_amount | long | いいえ | 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). |
レスポンス
payments.PaymentResult
MTProto RPC
- 400 · FORM_UNSUPPORTED — Please update your client.
- 400 · INVOICE_INVALID — The specified invoice is invalid.
- 400 · MESSAGE_ID_INVALID — The provided message id is invalid.
- 400 · PAYMENT_CREDENTIALS_INVALID — The specified payment credentials are invalid.
- 400 · PEER_ID_INVALID — The provided peer id is invalid.
- 400 · TMP_PASSWORD_INVALID — The passed tmp_password is invalid.