Skip to Content
Paycose Docs
Meter event adjustments

Meter event adjustments

The billing.meter_event_adjustment object

A correction to usage you already reported, the same as Stripe's billing meter event adjustment. Its only type, cancel, cancels the meter event sent with the identifier in cancel.identifier.

Attributes

  • idstringRequired

    Unique identifier for the object.

  • objectstringRequired

    String naming the object's type.

  • livemodebooleanRequired

    true when the object exists in live mode, false in test mode.

  • createdtimestampRequired

    Time the object was created, in Unix seconds.

  • event_namestringRequired

    Event name of the meter event to cancel.

  • typestringRequired

    Kind of adjustment.

    • cancel

      Cancels one earlier meter event, so it no longer counts toward usage.

  • cancelobjectRequired

    The meter event the adjustment cancels.

    Show child attributes
    • cancel.identifierstringRequired

      The identifier of the meter event that is canceled.

  • statusstringRequired

    Processing state of the adjustment.

    • pending

      Recorded and sent on to the billing provider when the provider bills the usage.

    • complete

      Applied by the billing provider.