Skip to content

Commit e127984

Browse files
Merge pull request #648 from nofrixion/feature/MOOV-4825-manage-webhooks
Added webhook url
2 parents c9de2a6 + ded91bd commit e127984

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/NoFrixion.MoneyMoov/MoneyMoovUrlBuilder.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,9 @@ public static string WebhooksUrl(string moneyMoovBaseUrl)
358358

359359
public static string AllWebhooksUrl(string moneyMoovBaseUrl, Guid merchantID)
360360
=> $"{moneyMoovBaseUrl}/{MoneyMoovResources.webhooks}/{merchantID}";
361+
362+
public static string WebhooksMerchantUrl(string moneyMoovBaseUrl, Guid merchantID, Guid webhookId)
363+
=> $"{moneyMoovBaseUrl}/{MoneyMoovResources.merchants}/{merchantID}/{MoneyMoovResources.webhooks}/{webhookId}";
361364
}
362365

363366
public static class BeneficiariesApi

0 commit comments

Comments
 (0)