Confirm a purchase request
post/phone/purchases/{id}/confirm
Confirm a purchase request: the number is bought and the monthly cost starts. Only a signed-in person can do this.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
voice:write- Graphql
Mutation.voicePhonePurchaseConfirm- Sdk
voice.phonePurchase.confirm- Cli
voice phone purchase confirm
Parameters
- idstringrequiredIn the path
Responses
- 200application/jsonSuccess
- idstringrequired
- numberstringrequired
- countrystringrequired
- typestringrequired
- labelstringrequired
- quoteMicrosnumber or nullrequired
- currencystringrequired
- requirementslist of objectrequired
- kindstringrequired
- titlestringrequired
- blocksPurchasebooleanrequired
- statestringrequiredOne of: pending, confirmed, bought, declined, expired, failed.
- requestedBystringrequired
- decidedBystring or nullrequired
- numberIdstring or nullrequired
- notestringrequired
- createdAtstringrequired
- expiresAtstringrequired
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring