UNPKG
thawani-nodejs
Version:
latest (1.0.2)
1.0.2
1.0.1
1.0.0
Node.js library for Thawani Payment Gateway
thawani-nodejs
/
dist
/
types
/
webhook.d.ts
11 lines
(10 loc)
•
286 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
export
interface
WebhookEvent
{
timestamp
:
string
;
signature
:
string
;
body
:
any
; }
export
interface
WebhookEventData
{
type
:
WebhookEventType
;
data
:
any
; }
export
type
WebhookEventType
=
'payment.succeeded'
|
'payment.failed'
|
'refund.succeeded'
|
'refund.failed'
;