Webhook::get_webhook_payload()
Summary
Get JSON input submitted from BigCommerce.
Return
(array) JSON data converted to an array.
Source
File: src/BigCommerce/Webhooks/Webhook.php
public function get_webhook_payload() { $json_content = file_get_contents( 'php://input' ); return json_decode( $json_content, true ); }