Better Payment 0.11.1 API
Guides
Preparing search index...
index
BeforeHookResult
Interface BeforeHookResult
What a before hook can return (all optional):
provider
: run the operation on this provider (routable calls only)
request
: replace the request
result
: skip the provider and return this result; remaining before hooks do not run, after hooks and events do
interface
BeforeHookResult
{
provider
?:
string
;
request
?:
unknown
;
result
?:
unknown
;
}
Index
Properties
provider?
request?
result?
Properties
Optional
provider
provider
?:
string
Optional
request
request
?:
unknown
Optional
result
result
?:
unknown
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
provider
request
result
Guides
Better Payment 0.11.1 API
Loading...
What a before hook can return (all optional):
provider: run the operation on this provider (routable calls only)request: replace the requestresult: skip the provider and return this result; remaining before hooks do not run, after hooks and events do