Skip to main content
Version: 2021-07-28

Purchase number for location

POST 

/phone-system/numbers/location/:locationId/purchase

deprecated

This endpoint has been deprecated and may be replaced or removed in future versions of the API.

Purchase number for location.

Request

locationId stringrequired

Location ID as string

application/json

Bodyrequired

    phoneNumberstringrequired

    phoneNumber to purchase

    addressSidstringrequired

    addressSid twilio address id

    bundleSidstringrequired

    bundleSid twilio bundle id

    countryCodestringrequired

    country for which the phone numbers are being requested

    numberTypeobjectrequired

    type of phone number to be purchased

    paymentIntentIdstringrequired

    stripe payment intent id

    stripeAccountIdstringrequired

    stripe account id

    paymentMethodIdstringrequired

    stripe registered payment method id

    localitystringrequired

    locality of the user in which number is being purchased

    regionstringrequired

    region of the user in which number is being purchased

    fingerprintIdstringrequired

    fingerprintId is request id which is unique for every purchase number request

    skipLocationKYCbooleanrequired

    Skip location-level KYC verification if agency-level compliance has already been verified