Персональные данные

POST /personal_data

Changed on

Создание персональных данных

Request

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

Headers

Idempotence-Keystring required

Request body

OR

Response

The request has succeeded.

idstring required
type'payout_statement_recipient' | 'sbp_payout_recipient' required
statusstring required

Статус хранения персональных данных.

created_atstring date-time required

Время создания персональных данных.

expires_atstring date-time

Срок жизни персональных данных.

metadataMetadata

Любые дополнительные данные, которые нужны вам для работы (например, номер заказа). Передаются в виде набора пар «ключ-значение» и возвращаются в ответе от ЮKassa. Ограничения: максимум 16 ключей, имя ключа не больше 32 символов, значение ключа не больше 512 символов, тип данных — строка в формате UTF-8.

Changes

    • breaking

      removed from the request body oneOf list

    • breaking

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

    • breaking

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

    • breaking

      the response's property type changed from object 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 string to no type for status

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • info

      api operation id PersonalDataResource_create was added

    • info

      added to the request body anyOf list

    • info

      removed request discriminator

    • info

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

    • 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

      removed subschema #2 from the response body 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 the active enum value from the response property for the response status

    • info

      removed the canceled 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 error enum value from the //// response property for the response status

    • info

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

    • info

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

    • info

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