VIRTUAL NUMBERS
Report a virtual number order
POSThttps://production.dutchapi.co/v1/virtual-numbers/orders/:reference/report
Reports an active number and refunds only after the provider confirms the report and no SMS has arrived.
🔒Send the project API key as a Bearer token and your Business ID with this call.
Send an Idempotency-Key header. A 202 response means the refund needs reconciliation; do not retry with a new key.
Responses
{
"data": {
"transactionId": "vnm_8f2c1a",
"status": "refunded"
}
}
{
"error": "insufficient_scope",
"message": "This project key is not allowed to do that."
}
Errors
| Status | error | Meaning |
|---|
| 403 | insufficient_scope | This project key is not allowed to do that. |
| 400 | idempotency_key_required | Send an Idempotency-Key header. |
| 409 | virtual_number_order_not_cancellable | This number order cannot be reported. |
| 502 | virtual_number_cancel_unconfirmed | The provider did not confirm the report. |