Actor CLI Charging
Pricing
Pay per event
Go to Apify Store
Deprecated
Actor CLI Charging
Example Actor featuring how you can charge from Apify CLI.
Pricing
Pay per event
Rating
0.0
(0)
Developer

Matej Hamas
Maintained by Community
Actor stats
0
Bookmarked
2
Total users
2
Monthly active users
9 months ago
Last modified
Categories
Share
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.
- Important: the only valid event name is
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.