POST /user/invoices/{invoice_id}/payment-link

Issue a single-use link that hands the shopper off to a WHMCS payment page. Each call issues a new link.

Request

  • Base URL
    https://developers.whmcs.com/api/v2
  • Auth
    none declared

Path parameters

invoice_idinteger required
Example:456

Invoice ID

Response

The hand-off link. The url value is single-use and short-lived.

Example response

{
  "data": {
    "next_action": {
      "url": "https://example.com/oauth/singlesignon.php?access_token=..."
    }
  }
}

Changes

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