summaryrefslogtreecommitdiff
path: root/packages/merchant-backoffice-ui/src/declaration.d.ts
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2023-08-02 10:41:14 -0300
committerSebastian <sebasjm@gmail.com>2023-08-02 10:41:14 -0300
commit72b8a70da2b49d767aa0262fe4095adf4523e469 (patch)
tree5b0a39333ac1cabca3b56cfdde24b08f35428790 /packages/merchant-backoffice-ui/src/declaration.d.ts
parent60929c34f3e342a4f2b47a7e0172ada3e58d6f07 (diff)
downloadwallet-core-72b8a70da2b49d767aa0262fe4095adf4523e469.tar.gz
wallet-core-72b8a70da2b49d767aa0262fe4095adf4523e469.tar.bz2
wallet-core-72b8a70da2b49d767aa0262fe4095adf4523e469.zip
fix #7830
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;