Products

Получение продажи партнёра. Устарел, используйте новый рут - GET /api/v1/invoices/{id}

get/api/v1/invoice

Request

  • Base URL: https://gate.lava.top (the document declares no server; this is the origin it was published from)
  • URL: https://gate.lava.top/api/v1/invoice
  • Auth: API key in header X-Api-Key

Query parameters

idstring uuid

Идентификатор контракта

Response

Продажа партнёра

idstring uuid

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

status'new' | 'in-progress' | 'completed' | 'failed' | 'cancelled' | 'subscription-active' | 'subscription-expired' | 'subscription-cancelled' | 'subscription-failed'

Статус контракта

paymentUrlstring nullable

Ссылка на виджет оплаты продукта (пусто, если продукт бесплатный)

Example response

{
  "paymentUrl": "https://payment-widget-url"
}

Changes

No recorded changes to this operation across all 1 revision of this API.