Layer 227
PaymentsValidateRequestedInfo
Submit requested order information for validation
method
Users
payments.validateRequestedInfo#b6c8f12b flags:# save:flags.0?true invoice:InputInvoice info:PaymentRequestedInfo = payments.ValidatedRequestedInfo;
Parameters
| Name | Type | Description |
|---|---|---|
| Save | flags .0? true | Save order information to re-use it for future orders |
| Invoice | InputInvoice | Invoice |
| Info | PaymentRequestedInfo | Requested order information |
Returns
payments.ValidatedRequestedInfoGogram Example
// PaymentsValidateRequestedInfo - positional arguments result, err := client.PaymentsValidateRequestedInfo(nil, &tg.InputInvoice{}, &tg.PaymentRequestedInfo{}) if err != nil { // handle error } // result is *tg.PaymentsValidatedRequestedInfo
Possible Errors
| Code | Type | Description |
|---|---|---|
| 400 | MESSAGE_ID_INVALID | The provided message id is invalid. |
| 400 | PEER_ID_INVALID | The provided peer id is invalid. |