telegram api method · layer 229 · #dffd50d3
payments.assignPlayMarketTransaction
Informs server about a purchase made through the Play Store: for official applications only.
definition
payments.assignPlayMarketTransaction#dffd50d3 receipt:DataJSON purpose:InputStorePaymentPurpose = Updates;
parameters
| name | type | description |
|---|---|---|
receipt | DataJSON | Receipt |
purpose | InputStorePaymentPurpose | Payment purpose |
returns
errors (2)
| code | error | description |
|---|---|---|
| 400 | BUSINESS_CONNECTION_NOT_ALLOWED | This method was invoked over a business connection using invokeWithBusinessConnection, but either (1) we're a user, and users cannot invoke methods over a business connection; (2) we're a bot, but business mode was disabled in @botfather or (3); we're a bot, but this method cannot be invoked over a business connection. |
| 400 | DATA_JSON_INVALID | The provided JSON data is invalid. |
history
present in layers 143–229 · constructor id changed 1×
| id | layers |
|---|---|
| #4faa4aed | 143 |
| #dffd50d3 | 144–229 |