RefundTransfer

data class RefundTransfer(val transferId: String, val idempotencyKey: String) : TransferV2Endpoints

Endpoint for refunding a succeeded payment transfer (POST /v2/transfers/{id}/refund).

Constructors

Link copied to clipboard
constructor(transferId: String, idempotencyKey: String)

Properties

Link copied to clipboard
open override val additionalHeaders: Map<String, String>

Extra headers; mutating money-movement members send Idempotency-Key.

Link copied to clipboard
open override val endpointURL: String

The resolved URL path for this endpoint.

Link copied to clipboard
open override val httpMethod: String

The HTTP method for this endpoint.

Link copied to clipboard

Value sent as the Idempotency-Key header.

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

Query parameters appended to the request URL, populated for GetTransfers only.

Link copied to clipboard

The unique identifier of the transfer to refund.