API Referencev1.0
HomeLog inSign up
VIRTUAL NUMBERS

Finish a virtual number order

POSThttps://production.dutchapi.co/v1/virtual-numbers/orders/:reference/finish

Asks the provider to finish an active number order after an SMS code arrives.

🔒Send the project API key as a Bearer token and your Business ID with this call.

Send an Idempotency-Key header. The order is only marked finished after the provider confirms.

Responses

{
  "data": {
    "transactionId": "vnm_8f2c1a",
    "status": "finished"
  }
}
{
  "error": "insufficient_scope",
  "message": "This project key is not allowed to do that."
}

Errors

StatuserrorMeaning
403insufficient_scopeThis project key is not allowed to do that.
400idempotency_key_requiredSend an Idempotency-Key header.
409virtual_number_order_not_readyWait for an SMS code before finishing this order.
502virtual_number_finish_unconfirmedThe provider did not confirm completion.
Updated 2026
Did this page help you?