Bandwidth::VerificationDenialWebhook
Name
Type
Description
Notes
account_id
String
User's account ID.
[optional]
additional_denial_reasons
Array<AdditionalDenialReason>
An optional list of denial reasons in addition to declineReasonDescription when multiple reasons apply.
[optional]
decline_reason_description
String
Explanation for why a verification request was declined.
[optional]
denial_status_code
Integer
Reason code for denial.
[optional]
internal_ticket_number
String
Unique identifier (UUID) generated by Bandwidth to assist in tracking the verification status of a toll-free number.
[optional]
phone_number
String
Toll-free telephone number in E.164 format.
[optional]
resubmit_allowed
Boolean
Whether a Toll-Free Verification request qualifies for resubmission via PUT.
[optional]
status
String
[optional][default to 'UNVERIFIED']
blocked
Boolean
Whether a Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked.
[optional]
blocked_reason
String
The reason why the Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked.
[optional]
require 'bandwidth-sdk'
instance = Bandwidth ::VerificationDenialWebhook . new (
account_id : 1234567 ,
additional_denial_reasons : [ { " ; statusCode " ; :512 , " ; reason " ; :" ; Reason A " ; , " ; resubmitAllowed " ; :true } , { " ; statusCode " ; :513 , " ; reason " ; :" ; Reason B " ; , " ; resubmitAllowed " ; :true } ] ,
decline_reason_description : Invalid Information - Can 't Validate URL - Website is not accessible / not available,
denial_status_code : 511 ,
internal_ticket_number : acde070d -8 c4c -4 f0d -9 d8a -162843 c10333 ,
phone_number : +18005555555 ,
resubmit_allowed : true ,
status : UNVERIFIED ,
blocked : true ,
blocked_reason : Toll -free number was used to send spam messages
)