DisputeEndpoints

Defines the API endpoints available for dispute operations.

Each case maps to a specific Frame API route and HTTP method. Callers construct the appropriate case and pass it to the networking layer to execute the request.

Inheritors

Types

Link copied to clipboard
data class GetDispute(val disputeId: String) : DisputeEndpoints

Endpoint for retrieving a single dispute by its identifier.

Link copied to clipboard
data class GetDisputes(val chargeId: String?, val chargeIntentId: String?, val perPage: Int?, val page: Int?) : DisputeEndpoints

Endpoint for retrieving a paginated list of disputes, optionally filtered by charge or charge intent.

Link copied to clipboard
data class UpdateDispute(val disputeId: String) : DisputeEndpoints

Endpoint for updating an existing dispute with new evidence.

Properties

Link copied to clipboard
open override val endpointURL: String

The relative URL path for this endpoint.

Link copied to clipboard
open override val httpMethod: String

The HTTP method used for this endpoint.

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

The query parameters appended to the request URL, or null if none apply.