> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cdp.coinbase.com/llms.txt
> Use this file to discover all available pages before exploring further.

# X402BatchSettlementRefundPayload

> X402BatchSettlementRefundPayload API reference.

Package: [`com.coinbase.cdp.types`](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/types/index)

```java theme={null}
public final class X402BatchSettlementRefundPayload extends Object
```

## Method Details

### `getChannelConfig`

```java theme={null}
public X402BatchSettlementChannelConfig getChannelConfig()
```

**Returns:**

[X402BatchSettlementChannelConfig](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/types/X402BatchSettlementChannelConfig)

### `getVoucher`

```java theme={null}
public X402BatchSettlementVoucher getVoucher()
```

**Returns:**

[X402BatchSettlementVoucher](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/types/X402BatchSettlementVoucher)

### `getAmount`

```java theme={null}
public Optional<String> getAmount()
```

**Returns:**

`Optional<String>` - The refund amount in atomic units of `channelConfig.token`. Optional in the client-emitted shape (defaults to the full remaining channel balance). Required when the payload is enriched by a mediating server.

### `getRefundNonce`

```java theme={null}
public Optional<String> getRefundNonce()
```

**Returns:**

`Optional<String>` - The on-chain refund nonce for replay protection (uint256 as decimal string). Only present on the server-enriched shape.

### `getClaims`

```java theme={null}
public Optional<List<X402BatchSettlementClaim>> getClaims()
```

**Returns:**

`Optional`\<`List`\<[X402BatchSettlementClaim](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/types/X402BatchSettlementClaim)>> - Voucher claims to include atomically with the refund. Only present on the server-enriched shape.

### `getRefundAuthorizerSignature`

```java theme={null}
public Optional<String> getRefundAuthorizerSignature()
```

**Returns:**

`Optional<String>` - Optional EIP-712 signature from the receiver authorizer over the refund. When omitted, the facilitator auto-signs.

### `getClaimAuthorizerSignature`

```java theme={null}
public Optional<String> getClaimAuthorizerSignature()
```

**Returns:**

`Optional<String>` - Optional EIP-712 signature from the receiver authorizer over the included claims. When omitted, the facilitator auto-signs.

### `equals`

```java theme={null}
public boolean equals(Object other)
```

**Overrides:**

`[equals](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#equals\(java.lang.Object\) "class or interface in java.lang")` in class `[Object](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html "class or interface in java.lang")`

**Parameters:**

`other` - `Object`

**Returns:**

`boolean`

### `getAdditionalProperties`

```java theme={null}
public Map<String,Object> getAdditionalProperties()
```

**Returns:**

`Map<String,Object>`

### `hashCode`

```java theme={null}
public int hashCode()
```

**Overrides:**

`[hashCode](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#hashCode\(\) "class or interface in java.lang")` in class `[Object](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html "class or interface in java.lang")`

**Returns:**

`int`

### `toString`

```java theme={null}
public String toString()
```

**Overrides:**

`[toString](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#toString\(\) "class or interface in java.lang")` in class `[Object](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html "class or interface in java.lang")`

**Returns:**

`String`

### `builder`

```java theme={null}
public static X402BatchSettlementRefundPayload.ChannelConfigStage builder()
```

**Returns:**

[X402BatchSettlementRefundPayload](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/types/X402BatchSettlementRefundPayload).`ChannelConfigStage`
