Gateway

Preview a spend rule

Changed on

Returns the rule's current period, spend so far, base, percent and next threshold, computed as the evaluator computes them, without sending or recording anything.

get/spend-rules/{id}/preview

Request

  • Base URL
    https://api.phaseo.app/v1
  • URL
    https://api.phaseo.app/v1/spend-rules/{id}/preview
  • Auth
    HTTP bearer

Response

Spend rule preview

Changes

    • info

      added the required property / to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status