Skip to navigation

Update a Deposit

Update the Source that sent a deposit. The source must already exist. You can’t clear a deposit’s source.

Changing the source_id of a deposit that has donations reconciled to it returns 400. Unreconcile the deposit first, then reconcile it again after the update.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

idstringRequired
The unique identifier for the deposit

Headers

Idempotency-KeystringOptional
The idempotency key for the request.

Request

The request to update an existing deposit.
source_idstringRequired

The identifier of the Source that sent this deposit. The source must already exist. It can’t be changed while the deposit has donations reconciled to it.

Response

The deposit was updated.
idstringRead-only
The unique identifier for the deposit.
statusenum
The status of the deposit.
Allowed values:
transferobject
The transfer that carried the funds.
donation_countintegerRead-only

The number of donations reconciled to this deposit. 0 when no donations are reconciled to it.

created_atdatetimeRead-only
The date and time when the deposit was created.
updated_atdatetimeRead-only
The date and time when the deposit was last updated.
source_idstringOptional

The identifier of the Source that sent this deposit.

deposit_address_idstring or nullOptionalRead-only

The identifier of the Deposit Address that received the funds. Null when the funds didn’t arrive through a deposit address, such as a mailed check.

settled_atdatetimeOptionalRead-only
The date and time when the deposit was settled.
returned_atdatetimeOptionalRead-only
The date and time when the deposit was returned.
propertieslist of objectsOptional
A list of properties assigned to the deposit.
payment_source_idstringOptionalDeprecated

Deprecated. Use source_id.

bank_created_atdatetimeOptionalRead-onlyDeprecated

Deprecated. Use transfer.bank_created_at.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error