TwoCheckout Provides expressive OOP access interface, each EndPoint / Event is Represented by Class with regular CRUD interface (get/create/update/delete) representing 2Checkout Restful API.
TwoCheckout Admin API is represented By Resources classes, and TwoCheckout Webhooks Events are represented by Events classes, for more information please review 2Checkout Documentation.
the following Walkthrough will guide you to each class normal usage.
to receive 2Checkout Webhook Event, in your route method. listenTo method verifies and returns Event as Array.
for more info about the return data for each event please review the Documentation.