validate_requested_info()

async Client.validate_requested_info()

Validate requested order and shipping information before payment.

Usable by Users Bots
Parameters:
  • invoice (InputInvoice) – The invoice.

  • info (PaymentRequestedInfo) – Order and shipping information.

  • save (bool, optional) – Whether to save the information for future purchases.

Returns:

ValidatedRequestedInfo – Validated info.

Example

res = await app.validate_requested_info(invoice, info, save=True)