Per-Service Numbers

Cancel a per-service rental

Cancel a recently purchased per-service rental and get a refund of everything paid for it (the purchase and any renewals) to your account balance. A rental can only be cancelled between 5 and 120 minutes after purchase, and only if it has not received any SMS. Cancelling through the API must be enabled for your account; contact support to enable it.

post/per-service/cancel

Request

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

Request body

rentIdstring required

The rental ID returned from the purchase endpoint

Example request

{
  "rentId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}

Response

Rental cancelled and refunded

successboolean
rentIdstring
refundAmountnumber

Amount refunded to your account balance (USD)

Example response

{
  "success": true,
  "rentId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "refundAmount": 4.1
}

Changes

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