Billing

Issue an immutable service-credit grant idempotently with an audit record. A subscription_period grant takes its amount and bounds from the period's pricing-policy allowance. Restricted to billing staff.

post/api/v1/billing.service-credits.grants.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.service-credits.grants.insert
  • Auth: none declared. Required headers: authorization

Headers

authorizationstring required

UTF-8 encoded string

Request body

OR
OR
OR

Response

200 OK

createdboolean required

Boolean value

Changes

    • breaking

      removed subschema #1: billing.ServiceCreditBoundedGrantRequest subschema #2: billing.ServiceCreditBoundedGrantRequest subschema #3: billing.ServiceCreditBoundedGrantRequest subschema #4: billing.ServiceCreditPeriodGrantRequest from the request body oneOf list

    • info

      added subschema #1: top_up subschema #2: credit_line subschema #3: promotional subschema #4: subscription_period to the request body oneOf list

    • info

      endpoint added