Чеки

Создание чека

Request

  • Base URL
    https://api.yookassa.ru/v3
  • Auth
    HTTP basic

Headers

Idempotence-Keystring required

Request body

type'payment' | 'refund' required
payment_idstring
refund_idstring
internetboolean

Флаг расчета в интернете.

sendboolean required

Признак отправки чека пользователю.

tax_system_codeinteger

Код системы налогообложения.

timezonestring

Часовой пояс.

on_behalf_ofstring

Идентификатор магазина.

Response

The request has succeeded.

idstring required
type'payment' | 'refund' required
payment_idstring
refund_idstring
status'pending' | 'succeeded' | 'canceled' required
fiscal_document_numberstring

Номер фискального документа.

fiscal_storage_numberstring

Номер фискального накопителя.

fiscal_attributestring

Фискальный признак.

registered_atstring date-time

Дата и время регистрации чека.

fiscal_provider_idstring

Идентификатор провайдера фискализации.

internetboolean

Флаг расчета в интернете.

on_behalf_ofstring

Идентификатор магазина.

tax_system_codeinteger

Код системы налогообложения.

timezonestring

Часовой пояс.

Changes

    • breaking

      the request's body type changed from no type to object

    • breaking

      added to the /////// request property allOf list

    • breaking

      added to the request property allOf list

    • breaking

      added to the request property allOf list

    • breaking

      added to the / request property allOf list

    • breaking

      removed the enum value AMD of the request property ///////

    • breaking

      removed the enum value AZN of the request property ///////

    • breaking

      removed the enum value BYN of the request property ///////

    • breaking

      removed the enum value EUR of the request property ///////

    • breaking

      removed the enum value INR of the request property ///////

    • breaking

      removed the enum value KZT of the request property ///////

    • breaking

      removed the enum value MDL of the request property ///////

    • breaking

      removed the enum value RUB of the request property ///////

    • breaking

      removed the enum value TRY of the request property ///////

    • breaking

      removed the enum value UAH of the request property ///////

    • breaking

      removed the enum value USD of the request property ///////

    • breaking

      removed the enum value UZS of the request property ///////

    • breaking

      removed the enum value cashless of the request property //

    • breaking

      removed the enum value consideration of the request property //

    • breaking

      removed the enum value postpayment of the request property //

    • breaking

      removed the enum value prepayment of the request property //

    • breaking

      the request property type changed from object to no type

    • breaking

      the request property type changed from object to no type

    • breaking

      the // request property type changed from no type to object

    • breaking

      the /////// request property type changed from no type to string

    • breaking

      the request property type changed from no type to string

    • breaking

      the ///// request property format changed from no format to int32

    • breaking

      the /////// request property type changed from string to no type

    • breaking

      the request property type changed from integer to string

    • breaking

      the response property's maxLength was unset from 39 for the response status

    • breaking

      the // response property's maxLength was unset from 32 for the response status

    • breaking

      the /// response property's maxLength was unset from 13 for the response status

    • breaking

      the /// response property's maxLength was unset from 8 for the response status

    • breaking

      the /// response property's maxLength was unset from 33 for the response status

    • breaking

      the /// response property's maxLength was unset from 14 for the response status

    • breaking

      the /// response property's maxLength was unset from 20 for the response status

    • breaking

      the /// response property's maxLength was unset from 38 for the response status

    • breaking

      the /// response property's maxLength was unset from 200 for the response status

    • breaking

      the /// response property's maxLength was unset from 14 for the response status

    • breaking

      the /// response property's maxLength was unset from 38 for the response status

    • breaking

      the /// response property's maxLength was unset from 32 for the response status

    • breaking

      the //// response property's maxLength was unset from 32 for the response status

    • breaking

      the //// response property's maxLength was unset from 256 for the response status

    • breaking

      the // response property's maxLength was unset from 32 for the response status

    • breaking

      the // response property's maxLength was unset from 256 for the response status

    • breaking

      the ///// response property's maxLength was unset from 64 for the response status

    • breaking

      the response property's minItems was decreased from 1 to 0 for the response status

    • breaking

      the response property's minLength was decreased from 39 to 0 for the response status

    • breaking

      the // response property's minLength was decreased from 1 to 0 for the response status

    • breaking

      the /// response property's minLength was decreased from 13 to 0 for the response status

    • breaking

      the /// response property's minLength was decreased from 8 to 0 for the response status

    • breaking

      the /// response property's minLength was decreased from 33 to 0 for the response status

    • breaking

      the /// response property's minLength was decreased from 14 to 0 for the response status

    • breaking

      the /// response property's minLength was decreased from 20 to 0 for the response status

    • breaking

      the /// response property's minLength was decreased from 1 to 0 for the response status

    • breaking

      the /// response property's minLength was decreased from 1 to 0 for the response status

    • breaking

      the /// response property's minLength was decreased from 14 to 0 for the response status

    • breaking

      the /// response property's minLength was decreased from 1 to 0 for the response status

    • breaking

      the /// response property's minLength was decreased from 1 to 0 for the response status

    • breaking

      the response's property type changed from string to no type for status

    • breaking

      the // response's property type changed from no type to object for status

    • breaking

      the //// response's property format changed from date to no format for status

    • breaking

      the // response's property type changed from no type to object for status

    • breaking

      the /////// response's property type changed from no type to string for status

    • breaking

      the // response's property type changed from no type to integer, and format from no format to int32 for status

    • breaking

      the response's property type changed from no type to string for status

    • breaking

      the response's property type changed from string to no type for status

    • breaking

      the // response's property format changed from date to no format for status

    • breaking

      the response's property type changed from string to no type for status

    • breaking

      the /////// response's property type changed from string to no type for status

    • breaking

      the response's property type changed from no type to integer, and format from no format to int32 for status

    • breaking

      the response's property type changed from integer to string for status

    • breaking

      the response's property type changed from string to no type for status

    • warning

      removed subschema #2 from the request property allOf list

    • warning

      removed subschema #2 from the /////// request property allOf list

    • warning

      removed subschema #2 from the // request property allOf list

    • warning

      removed subschema #2 from the request property allOf list

    • warning

      removed subschema #2 from the request property allOf list

    • warning

      removed subschema #2 from the request property allOf list

    • warning

      removed subschema #2 from the // request property allOf list

    • warning

      removed subschema #2 from the request property allOf list

    • warning

      removed the request property /

    • warning

      removed the request property /

    • warning

      removed the request property /

    • warning

      removed the request property /

    • warning

      removed the request property /

    • warning

      removed the request property /

    • warning

      removed the request property //

    • warning

      removed the request property //

    • warning

      removed the request property //

    • warning

      removed the request property //

    • warning

      removed the request property //

    • warning

      removed the request property //

    • warning

      removed the request property //

    • warning

      removed the request property //

    • warning

      removed the request property //

    • warning

      removed the request property //

    • warning

      removed the request property //

    • warning

      removed the request property //

    • warning

      removed the request property //

    • warning

      removed the request property //

    • warning

      removed the request property //

    • warning

      removed the request property //

    • info

      api operation id Receipts_create was added

    • info

      added the new optional request property ///

    • info

      removed the pattern [0-9a-zA-Z+-_.]{1,64} from the header request parameter Idempotence-Key

    • info

      the request property default value true was removed

    • info

      the //// request property's minLength was decreased from 36 to 0

    • info

      the //// request property's minLength was decreased from 36 to 0

    • info

      removed the pattern (^00[1-9]{1}$)|(^0[1-6]{1}[0-9]{1}$)|(^07[0-3]{1}$) from the request property //

    • info

      the // request property format was generalized from date to no format

    • info

      removed subschema #2 from the response body allOf list for the response status

    • info

      removed subschema #2 from the response body allOf list for the response status

    • info

      removed subschema #2 from the response body allOf list for the response status

    • info

      removed subschema #2 from the response body allOf list for the response status

    • info

      added the optional property /// to the response with the status

    • info

      added to the /////// response property allOf list for the response status

    • info

      added to the response property allOf list for the response status

    • info

      added to the response property allOf list for the response status

    • info

      added to the response property allOf list for the response status

    • info

      added to the response property allOf list for the response status

    • info

      removed subschema #2 from the response property allOf list for the response status

    • info

      removed subschema #2 from the // response property allOf list for the response status

    • info

      removed subschema #2 from the /////// response property allOf list for the response status

    • info

      removed subschema #2 from the // response property allOf list for the response status

    • info

      removed subschema #2 from the response property allOf list for the response status

    • info

      removed subschema #2 from the // response property allOf list for the response status

    • info

      removed subschema #2 from the response property allOf list for the response status

    • info

      removed subschema #2 from the // response property allOf list for the response status

    • info

      removed subschema #2 from the response property allOf list for the response status

    • info

      removed the AMD enum value from the /////// response property for the response status

    • info

      removed the AZN enum value from the /////// response property for the response status

    • info

      removed the BYN enum value from the /////// response property for the response status

    • info

      removed the EUR enum value from the /////// response property for the response status

    • info

      removed the INR enum value from the /////// response property for the response status

    • info

      removed the KZT enum value from the /////// response property for the response status

    • info

      removed the MDL enum value from the /////// response property for the response status

    • info

      removed the RUB enum value from the /////// response property for the response status

    • info

      removed the TRY enum value from the /////// response property for the response status

    • info

      removed the UAH enum value from the /////// response property for the response status

    • info

      removed the USD enum value from the /////// response property for the response status

    • info

      removed the UZS enum value from the /////// response property for the response status

    • info

      removed the cashless enum value from the // response property for the response status

    • info

      removed the consideration enum value from the // response property for the response status

    • info

      removed the error enum value from the //// response property for the response status

    • info

      removed the error enum value from the //// response property for the response status

    • info

      removed the error enum value from the //// response property for the response status

    • info

      removed the error enum value from the //// response property for the response status

    • info

      removed the payment enum value from the response property for the response status

    • info

      removed the postpayment enum value from the // response property for the response status

    • info

      removed the prepayment enum value from the // response property for the response status

    • info

      removed the refund enum value from the response property for the response status

    • info

      the // response's property pattern ^[0]{1}$ was removed for the status

    • info

      the //// response's property pattern (^00[1-9]{1}$)|(^0[1-6]{1}[0-9]{1}$)|(^07[0-3]{1}$) was removed for the status

    • info

      the // response's property pattern (^00[1-9]{1}$)|(^0[1-6]{1}[0-9]{1}$)|(^07[0-3]{1}$) was removed for the status

    • info

      added the required property /// to the response with the status

    • info

      added the required property /// to the response with the status