Set webhook
Set webhook
POST https://api.xbwallet.me/setwebhook
Request Body
Name
Type
Description
merchant_id
UUID
Merchant ID your shop
url
String
Callback URL
secret_hash
String
Signing the request with a secret key
secret_hash = sha1(merchant_id&url&secret)
{
"code": 200,
"status": "webhook url was set"
}{
"code": 400,
"error": "Description error"
}Last updated