Actor CLI Charging
Pricing
Pay per event
Go to Apify Store
Actor CLI Charging
DeprecatedExample Actor featuring how you can charge from Apify CLI.
0.0 (0)
Pricing
Pay per event
0
2
2
Last modified
8 months ago
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.
On this page
Share Actor:
