Billing

Create a billing subscription for a customer.

post/api/v1/billing.subscriptions.insert

Request

  • Base URL: https://api.partly.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.partly.com/api/v1/billing.subscriptions.insert
  • Auth: none declared. Required headers: authorization

Headers

authorizationstring required

UTF-8 encoded string

Request body

customer_idstring uuid required

UUID value type

metadataSerdeJsonValue

JSON value type

start_datestring date-time nullable

DateTime at a given timezone (RFC3339 format)

Response

200 OK

created_atstring date-time required

DateTime at a given timezone (RFC3339 format)

entitlementsStdStringString[] required

Entitlements granted by this subscription (from products in subscription items)

external_idstring

UTF-8 encoded string

idstring uuid required

UUID value type

next_billing_period_startstring date-time required

The server-authoritative boundary at which a deferred update will take effect.

start_datestring date-time required

Subscription level metadata

updated_atstring date-time required

DateTime at a given timezone (RFC3339 format)

Changes

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