# DepositAndApproveOptions

> **DepositAndApproveOptions** = `object`

Defined in: [packages/synapse-core/src/pay/payments.ts:25](https://github.com/FilOzone/synapse-sdk/blob/dfc87ee376667f790a15f27568f6c5de7afccd19/packages/synapse-core/src/pay/payments.ts#L25)

## Properties

### address?

> `optional` **address?**: `Address`

Defined in: [packages/synapse-core/src/pay/payments.ts:45](https://github.com/FilOzone/synapse-sdk/blob/dfc87ee376667f790a15f27568f6c5de7afccd19/packages/synapse-core/src/pay/payments.ts#L45)

The address of the account to deposit from. If not provided, the client account address will be used.

***

### amount

> **amount**: `bigint`

Defined in: [packages/synapse-core/src/pay/payments.ts:29](https://github.com/FilOzone/synapse-sdk/blob/dfc87ee376667f790a15f27568f6c5de7afccd19/packages/synapse-core/src/pay/payments.ts#L29)

The amount to deposit.

***

### deadline?

> `optional` **deadline?**: `bigint`

Defined in: [packages/synapse-core/src/pay/payments.ts:49](https://github.com/FilOzone/synapse-sdk/blob/dfc87ee376667f790a15f27568f6c5de7afccd19/packages/synapse-core/src/pay/payments.ts#L49)

The deadline of the permit. If not provided, the deadline will be set to 1 hour from now.

***

### lockupAllowance?

> `optional` **lockupAllowance?**: `bigint`

Defined in: [packages/synapse-core/src/pay/payments.ts:57](https://github.com/FilOzone/synapse-sdk/blob/dfc87ee376667f790a15f27568f6c5de7afccd19/packages/synapse-core/src/pay/payments.ts#L57)

The lockup allowance to approve. If not provided, the maxUint256 will be used.

***

### maxLockupPeriod?

> `optional` **maxLockupPeriod?**: `bigint`

Defined in: [packages/synapse-core/src/pay/payments.ts:62](https://github.com/FilOzone/synapse-sdk/blob/dfc87ee376667f790a15f27568f6c5de7afccd19/packages/synapse-core/src/pay/payments.ts#L62)

The max lockup period to approve. If not provided, the chain's
`getPriceList().lockups.defaultLockupPeriod` will be used.

***

### operator?

> `optional` **operator?**: `Address`

Defined in: [packages/synapse-core/src/pay/payments.ts:33](https://github.com/FilOzone/synapse-sdk/blob/dfc87ee376667f790a15f27568f6c5de7afccd19/packages/synapse-core/src/pay/payments.ts#L33)

The address of the operator to approve.

***

### rateAllowance?

> `optional` **rateAllowance?**: `bigint`

Defined in: [packages/synapse-core/src/pay/payments.ts:53](https://github.com/FilOzone/synapse-sdk/blob/dfc87ee376667f790a15f27568f6c5de7afccd19/packages/synapse-core/src/pay/payments.ts#L53)

The rate allowance to approve. If not provided, the maxUint256 will be used.

***

### spender?

> `optional` **spender?**: `Address`

Defined in: [packages/synapse-core/src/pay/payments.ts:41](https://github.com/FilOzone/synapse-sdk/blob/dfc87ee376667f790a15f27568f6c5de7afccd19/packages/synapse-core/src/pay/payments.ts#L41)

The address of the spender to approve. If not provided, the payments contract address will be used.

***

### token?

> `optional` **token?**: `Address`

Defined in: [packages/synapse-core/src/pay/payments.ts:37](https://github.com/FilOzone/synapse-sdk/blob/dfc87ee376667f790a15f27568f6c5de7afccd19/packages/synapse-core/src/pay/payments.ts#L37)

The address of the token to deposit. If not provided, the USDFC token address will be used.