Subscriptions

Create Invoice

post/companies/{company_id}/subscriptions/invoices/

Request

  • Base URL: https://api.radist.online/v2
  • URL: https://api.radist.online/v2/companies/{company_id}/subscriptions/invoices/
  • Auth: one of:
    • API key in header X-Api-Key
    • OAuth 2 (password, token URL https://auth.radist.online/auth/realms/radist/protocol/openid-connect/token)

Path parameters

company_idinteger required

Request body

previewboolean
payment_method'CARD_RU' | 'CARD_OTHER' | 'BANK_TRANSFER'
card_provider'ROBOKASSA' | 'KEEPZ'

Who acquires a CARD_OTHER payment. Orthogonal to the payment method, which stays a customer-facing category («карта не РФ») rather than the name of a bank.

period_monthsinteger
company_requisite_idinteger nullable
promo_codestring nullable

Response

Successful Response

idinteger nullable
previewboolean required
status'new' | 'payment_pending' | 'confirmed' | 'rejected' | 'expired' | 'refunded' | 'partial_refunded' | 'confirmed_with_errors' required
lifetimestring date-time required
amountnumber required
currency'RUB' | 'USD' required
payment_urlstring uri nullable
preview_urlstring uri nullable
act_urlstring uri nullable
created_atstring date-time required

Changes

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