Per-Service Numbers

Renew a per-service rental

Extend the rental period for an existing per-service number. The new duration is added to the current expiry date. Cost is deducted from your account balance.

post/per-service/renew

Request

  • Base URL: https://api.quackr.io
  • URL: https://api.quackr.io/per-service/renew
  • Auth: API key in header x-api-key

Request body

rentIdstring required

The rental ID returned from the purchase endpoint

duration'oneWeek' | 'oneMonth' | 'sixMonths' | 'twelveMonths' required

Example request

{
  "rentId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "duration": "oneMonth"
}

Response

Successfully renewed rental

successboolean
orderIdstring

The renewal's order number. Each renewal is its own order, in the same format as a purchase.

Example response

{
  "success": true,
  "orderId": "QK-7K3M9P2X",
  "rental": {
    "rentId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "phoneNumber": "12025551234",
    "service": "wa",
    "serviceName": "WhatsApp",
    "locale": "US",
    "rentalEndDate": 1714435200000
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.