Actor CLI Charging avatar

Actor CLI Charging

Try for free

This Actor is paid per event

Go to Store
Actor CLI Charging

Actor CLI Charging

mhamas/actor-cli-charging
Try for free

This Actor is paid per event

Example Actor featuring how you can charge from Apify CLI.

Example Apify Actor to charge from CLI

This Actor serves as an example of how to charge directly from Apify CLI.

How it works

The Actor is a simple wrapper around apify actor charge CLI command. It takes input from get-input function and passes it to charge command. It performs the charge only when running on the Apify platform and testPpe is not set to true.

Input

The input is a JSON object with the following properties:

  • eventName: The name of the event to charge for.
    • Important: the only valid event name is TEST.
  • count: The number of times to charge. (optional, default is 1)
  • idempotencyKey: The idempotency key for the charge. (optional)
  • testPPE: Whether to use test PPE. (optional, default is false)

Output

There is no output.

Local development

Running Actor locally via apify run is not supported.

Developer
Maintained by Community

Actor Metrics

  • 1 monthly user

  • 0 No bookmarks yet

  • >99% runs succeeded

  • Created in Feb 2025

  • Modified 2 days ago

Categories