Deposit webhooks

Subscribe to deposit webhooks for updates on status changes

Webhooks can be configured to receive updates on every status change that occurs through the life cycle of a deposit.

Deposit statuses

Deposit events


Events

Payload

The webhook payload consists of:

  • data - represents all deposit fields returned by the get deposit endpoint
  • event_type - deposit events denoted by the format of deposit.{deposit_status}
{
    "data": {
        "deposit_id": "dep_2sOhrqqvczzMolLKkcWyWxquj0i",
        // ...
        "status": "PROCESSING",
        // ...
    },
    "event_type": "deposit.processing"
}

Processing


Event: deposit.processing

Triggered when a deposit is created and processing.

FieldDescription
deposit_idThe unique deposit identifier.
platform_idThe unique platform identifier. Will be set if this deposit belongs to a platform.
merchant_idThe unique merchant identifier. Will be set if this deposit belongs to a merchant.
statusThe status of the deposit, will be PROCESSING.
amountThe amount deposited, in minor units.
deposit_typeThe types of of deposit. Valid values are BILLING or FUNDING. Billing only applies to merchants on gross billing.
method_typeThe type of deposit method. Valid values are ACH or PLAID_ACH. Determines the ach or plaid_ach object is defined.
achACH deposit method details, applicable if the method_type is ACH.
plaid_achACH deposit method details from Plaid, applicable if the method_type is PLAID_ACH.
created_atDate and time deposit was created at in UTC RFC 3339 format.

In review


Event: deposit.in_review

Triggered when a deposit is flagged for risk review. Funds have not been sent to the merchant or platform's bank account.

FieldDescription
deposit_idThe unique deposit identifier.
statusThe status of the deposit, will be IN_REVIEW.

Succeeded


Event: deposit.succeeded

Triggered when a deposit has completed processing and the funds have been deposited into the merchant or platform's bank account.

FieldDescription
deposit_idThe unique deposit identifier.
statusThe status of the deposit, will be SUCCEEDED.

Failed


Event: deposit.failed

Triggered when a deposit unsuccessfully attempts to process. We attempted to deposit the funds to the merchant or platform's bank account, but the deposit was returned.

FieldDescription
deposit_idThe unique deposit identifier.
statusThe status of the deposit, will be FAILED.