Quote or buy
step quote prices a phone number, domain, mailbox or WhatsApp account from live connected service data and returns a quote with the amount due now, the monthly cost and when it expires; nothing is charged. step buy buys what a current quote priced. Send an Idempotency-Key. phone_number with pay_with wallet spends prepaid credit; with card the answer carries a checkout_url that a person must open. Domains, mailboxes and WhatsApp accounts follow the workspace’s billing. A changed price answers 409; ask for a new quote. Follow the result with GET /purchases?operation_id=. Needs an owner or admin. Requires write access. This operation can change workspace data or trigger an external side effect; review the request before sending it and do not retry blindly after a timeout.
Body
Response
Successful Response
The response is of type Response Buy Api V1 Public Purchases Post · object.