qr-subscription

Создание QR для подписки

Метод позволяет зарегистрировать QR для последующей привязки счета клиента в выбранном банке. Для мобильного интерфейса используется диплинк, который возвращается в qr.payload. Создание подписки выполняется без авторизации, что позволяет использовать метод на сайте и в мобильном приложении.

post/sbp/v1/subscriptions

Headers

Content-type:string required

application/json

Request body

idstring

Идентификатор подписки.

subscriptionPurposestring required

Описание подписки которое увидит клиент в приложении банка.

sbpMerchantIdstring required

Идентификатор зарегистрированного партнёра в СБП

Response

OK

idstring required

Идентификатор подписки.

createDatestring required

Время формирования заявки

status'INACTIVE' | 'SUBSCRIBED' | 'UNSUBSCRIBED' required

Статус подписки

Changes

Changed in 2 of the 4 revisions of this API.114

    • the subscriptionPurpose request property's maxLength was set to 185

      request-property-max-length-set

    • the request property id became optional

      request-property-became-optional

    This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • c1be604342e813See the full diff
    • added the new required header request parameter Content-type:

      new-required-request-parameter

    • api operation id postSubscriptions removed and replaced with post-sbp-v1-subscriptions

      api-operation-id-removed

    • added optional request body

      request-body-added-optional

    • added the media type application/json for the response with the status 200

      response-media-type-added