Laravel PayMongo

Artisan commands

The package's Artisan commands, with their arguments and options.

paymongo:webhook:create

Register a webhook endpoint with PayMongo.

php artisan paymongo:webhook:create [--event [EVENT]] [--] <url>
Argument or option Description
url The endpoint URL PayMongo should deliver events to
--event Event to subscribe (repeatable)

paymongo:webhook:list

List the webhook endpoints registered with PayMongo.

php artisan paymongo:webhook:list

paymongo:webhook:toggle

Enable or disable a PayMongo webhook endpoint.

php artisan paymongo:webhook:toggle [--enable] [--disable] [--] <id>
Argument or option Description
id The webhook id (hook_...)
--enable Enable the webhook
--disable Disable the webhook