aboutsummaryrefslogtreecommitdiff
path: root/packages/merchant-backoffice-ui/src/declaration.d.ts
diff options
context:
space:
mode:
authorÖzgür Kesim <oec-taler@kesim.org>2023-08-03 19:35:52 +0200
committerÖzgür Kesim <oec-taler@kesim.org>2023-08-03 19:35:52 +0200
commit77ea209ddb6d457db0ce113f91247207cc29fbd8 (patch)
tree93eec60ae611ffa38d81ba60fa3e5f76ceca5c04 /packages/merchant-backoffice-ui/src/declaration.d.ts
parent2b9faf3d4ee00833c3431f1e8fc26bb102594e0f (diff)
parentee47aa4837fedcaa8257b57138ea34fda220d2b7 (diff)
Merge branch 'master' into age-withdraw
Diffstat (limited to 'packages/merchant-backoffice-ui/src/declaration.d.ts')
-rw-r--r--packages/merchant-backoffice-ui/src/declaration.d.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/merchant-backoffice-ui/src/declaration.d.ts b/packages/merchant-backoffice-ui/src/declaration.d.ts
index 8afa2f781..db3122266 100644
--- a/packages/merchant-backoffice-ui/src/declaration.d.ts
+++ b/packages/merchant-backoffice-ui/src/declaration.d.ts
@@ -1331,12 +1331,13 @@ export namespace MerchantBackend {
}
namespace Webhooks {
+ type MerchantWebhookType = "pay" | "refund";
interface WebhookAddDetails {
// Webhook ID to use.
webhook_id: string;
// The event of the webhook: why the webhook is used.
- event_type: string;
+ event_type: MerchantWebhookType;
// URL of the webhook where the customer will be redirected.
url: string;