Actor CLI Charging
DeprecatedPricing
$1.00 / 1,000 test events
Go to Apify Store

Actor CLI Charging
DeprecatedExample Actor featuring how you can charge from Apify CLI.
Pricing
$1.00 / 1,000 test events
Rating
0.0
(0)
Developer
Matej Hamas
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
2
Monthly active users
a year 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.