Webhook
Last updated
Last updated
This is a way SwitchWallet Notifies our Merchants of deposits being made to the wallet addresses They generated, Thus: ("Alert" in our Traditional Fiat Banking system).
Merchants are to provide this "Responds Url" to send this webhooks
So to "Add" or "Update" your webhooks Url
Here is a sample
PUT
BaseUrl/api/v1/merchant/remittancewebhook
Name | Type | Description |
---|---|---|
After updating your Webhook Url, SwitchWallet sends the following webhooks
1) Currency
2) Network
Enum | Value |
---|---|
Enum | Value |
---|---|
webHookUrl
String
https://yoursite.com/webhook
publicKey
String
Your PublicKey
ABOUT_TO_INITIATE
1
PENDING
2
CONFIRMED
3
FAILED
4
NOT_PROPAGATED
5
DEPOSIT
1
WITHDRAW
2
TRANSFER
3
MERCHANT_DEPOSIT
4
REMITTANCE
5