fix snippets

This commit is contained in:
Roei Erez
2023-12-14 10:02:48 +02:00
parent 05f18fe1df
commit 28b5e68b0d
5 changed files with 8 additions and 8 deletions

View File

@@ -9,12 +9,12 @@ import BreezSDK
func webhook(sdk: BlockingBreezServices) throws {
// ANCHOR: register-webook
sdk.registerWebhook("https://yourapplication.com")
sdk.registerWebhook(webhookUrl: "https://yourapplication.com")
// ANCHOR_END: register-webook
}
func paymentWebhook(sdk: BlockingBreezServices) {
// ANCHOR: register-payment-webook
sdk.registerWebhook("https://your-nds-service.com/notify?platform=ios&token=<PUSH_TOKEN>").await?
sdk.registerWebhook(webhookUrl: "https://your-nds-service.com/notify?platform=ios&token=<PUSH_TOKEN>").await?
// ANCHOR_END: register-payment-webook
}