prefix to apply it to all your active prefixes. If you set authToken, VantPay sends it as Authorization: Bearer <authToken> on every notification; that is the only authentication, so compare it in constant time.| code | HTTP | message | when |
|---|---|---|---|
| 26 | 400 | Notification URL must be a public https:// URL | URL not public or not https. |
curl --location 'https://merchantapi-dev.vantpay.io/api/v1/virtual-accounts/set-notification-url' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"notificationUrl": "https://api.yourcompany.com/vantpay/notifications",
"authToken": "a-long-random-secret"
}'{
"isSuccessful": true,
"code": "00",
"message": "Operation successful"
}