CancelChargeIntent

data class CancelChargeIntent(val intentId: String) : ChargeIntentEndpoints

Cancels a charge intent before it is captured (POST /v1/charge_intents/{intentId}/cancel).

Constructors

Link copied to clipboard
constructor(intentId: String)

Properties

Link copied to clipboard
open override val endpointURL: String

Returns the relative URL path for this endpoint.

Link copied to clipboard
open override val httpMethod: String

Returns the HTTP method string for this endpoint.

Link copied to clipboard

The ID of the charge intent to cancel.

Link copied to clipboard
open override val queryItems: List<QueryItem>?

Returns the URL query parameters for this endpoint, or null if none apply.