class

Polar::Api::CheckoutLinks

Inherits Reference < Object

API client for checkout_links operations

Constants

Log = ::Log.for(self)

Constructors

new(client : Client)

Creates a new CheckoutLinks instance

@param client [Client] The Polar API client instance

Source

Instance methods

delete(id : String)

Delete Checkout Link

Delete a checkout link.

Scopes: checkout_links:write

Endpoint: DELETE /v1/checkout-links/{id}

Parameters:

  • id (required): The checkout link ID.

Returns: JSON response string

Raises:

  • ResourceNotFoundError on 404
  • NotPermittedError on 403
  • HTTPValidationError on 422
  • PolarError on other errors
Source