RefundEndpoints

Defines the API endpoints available for refund operations.

Each case maps to a specific URL path and HTTP method used by FrameNetworking.

Inheritors

Types

Link copied to clipboard

Endpoint for creating a new refund via POST to /v1/refunds.

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

Endpoint for retrieving a paginated list of refunds via GET to /v1/refunds.

Link copied to clipboard
data class GetRefundWith(val refundId: String) : RefundEndpoints

Endpoint for retrieving a single refund via GET to /v1/refunds/{refundId}.

Properties

Link copied to clipboard
open override val endpointURL: String

The fully qualified URL string for this endpoint.

Link copied to clipboard
open override val httpMethod: String

HTTP method, e.g. "GET", "POST", "DELETE".

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

Optional query-string parameters appended to endpointURL.