Skip to main content

SubscriptionCreateInvoice

POST 

/orgs/:org_guid/profile/subscriptions/products/:product_guid:create-invoice

SubscriptionCreateInvoice

Request

Path Parameters

    org_guid uuidrequired
    product_guid uuidrequired

Header Parameters

    X-LP-Client-Identifier stringrequired

    ClientIdentifier

    Example: 440761da-861a-43cd-8acb-c2fee5808f7e
    X-LP-Client-Type stringrequired

    Possible values: [Unknown, App, WebApp, Service]

    ClientType

    Example: App
    X-LP-Client-Name string

    ClientName

    Example: Swagger
    X-LP-Client-OS-Name string

    ClientOSName

    Example: SwaggerDoc
    X-LP-Client-OS-Version string

    ClientOSVersion

    Example: 1.0
    X-LP-Client-Screen-Resolution string

    ClientScreenResolution

    Example: 1280x0900
    X-LP-Client-Model string

    ClientModel

    Example: Chrome 75
    X-LP-Organization-Alias string

    OrganizationAlias

    X-LP-Client-Extensions csv

    ClientExtensions

    Accept-Language stringrequired

    Language

    Example: en-US

Body

    plan

    object

    required

    guid uuid

    guid

    type_of string

    type_of

    quantity int32required

    Possible values: <= 100000

    quantity

    period_in_months int32required

    Possible values: <= 60

    period_in_months

    who_pays

    object

    guid uuid

    guid

    type_of string

    type_of

    type_of string

    type_of

Responses

Created

Schema

    company

    object

    id stringnullable

    id

    inn stringnullable

    inn

    kpp stringnullable

    kpp

    name stringnullable

    name

    number stringnullable

    number

    total_sum

    object

    value int64

    value

    currency CurrencyCodes (string)required

    Possible values: [RUB, GBP, USD, EUR, Unknown]

    type_of string

    type_of

    status InvoiceStatuses (string)

    Possible values: [Unknown, Pending, Paid, Canceled, Refunded]

    payment_by_card_link stringnullable

    payment_by_card_link

    payment_by_transaction_link stringnullable

    payment_by_transaction_link

    positions

    object[]

    nullable

    positions

  • Array [

  • name stringnullable

    name

    quantity int32

    quantity

    price

    object

    value int64

    value

    currency CurrencyCodes (string)required

    Possible values: [RUB, GBP, USD, EUR, Unknown]

    type_of string

    type_of

    total_sum

    object

    value int64

    value

    currency CurrencyCodes (string)required

    Possible values: [RUB, GBP, USD, EUR, Unknown]

    type_of string

    type_of

    type_of string

    type_of

  • ]

  • created_at date-time

    created_at

    updated_at date-time

    updated_at

    deleted_at date-timenullable

    deleted_at

    meta stringnullable

    Possible values: <= 128 characters

    meta

    meta_data

    object

    nullable

    meta_data

    property name* string
    guid uuid

    guid

    type_of string

    type_of

Loading...