Actor CLI Charging
Deprecated
Pricing
Pay per event
Go to Store
Actor CLI Charging
Deprecated
Example Actor featuring how you can charge from Apify CLI.
0.0 (0)
Pricing
Pay per event
0
Total users
2
Monthly users
2
Runs succeeded
>99%
Last modified
4 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: