telegram api method · layer 229 · #80ed747d

payments.assignAppStoreTransaction

usable by users

Informs server about a purchase made through the App Store: for official applications only.

definition

payments.assignAppStoreTransaction#80ed747d receipt:bytes purpose:InputStorePaymentPurpose = Updates;

parameters

nametypedescription
receiptbytesReceipt
purposeInputStorePaymentPurposePayment purpose

returns

Updates

errors (3)

codeerrordescription
400BUSINESS_CONNECTION_NOT_ALLOWEDThis 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.
400INPUT_PURPOSE_INVALIDThe specified payment purpose is invalid.
400RECEIPT_EMPTYThe specified receipt is empty.

history

present in layers 143–229 · constructor id changed 1×

idlayers
#0d5ccfd0143
#80ed747d144–229