---
updatedAt: 2026-04-28T19:09:39.000Z
agentTools:
  projectIndex: https://docs.rainforestpay.com/llms.txt
---

# Simulate merchant deposit creation

Only available in the Rainforest sandbox environment.

Simulate processing a deposit on a merchant. Any payins or refunds with the status of `PROCESSING` will be transitioned to the status of `SUCCEEDED`.

The expected webhooks will be sent for all payins and refunds while the deposit is processing. The `deposit.processing` webhook will be sent when the deposit has been processed and the deposit status is `PROCESSING`.

On a merchant with a Daily Net billing configuration, a deposit will be processed with an amount that corresponds to the payment activity, less any applicable fees.

On a merchant with a Daily Gross billing configuration, two deposits will be processed:
  1. A funding deposit with an amount that corresponds to the gross amount of the payment activity.
  2. A billing deposit with an amount that corresponds to the applicable billing fees of the payment activity.

On a merchant with a Monthly Gross billing configuration, only the funding deposit will be processed with an amount that corresponds to the gross amount of the payment activity.

# OpenAPI definition

````json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Deposits",
    "version": "1.0.0",
    "description": "This resource is used for merchant actions",
    "contact": {
      "name": "Rainforest",
      "email": "support@rainforestpay.com",
      "url": "https://rainforestpay.com"
    }
  },
  "servers": [
    {
      "url": "https://api.sandbox.rainforestpay.com",
      "description": "Sandbox server"
    },
    {
      "url": "https://api.rainforestpay.com",
      "description": "Production server"
    }
  ],
  "paths": {
    "/v1/deposits": {
      "get": {
        "operationId": "list_deposits",
        "summary": "List deposits",
        "description": "Query a list of deposits given a primary filter of platform or merchant id, then additional optional search criteria.",
        "parameters": [
          {
            "in": "header",
            "name": "Rainforest-Api-Version",
            "schema": {
              "type": "string",
              "default": "2024-10-16",
              "enum": [
                "2024-10-16",
                "2023-12-01"
              ]
            }
          },
          {
            "in": "query",
            "name": "deposit_id",
            "schema": {
              "type": "string"
            },
            "description": "The unique deposit identifier. \n\nPrefix is \"dep\" in production and \"sbx_dep\" in sandbox.",
            "examples": {
              "production": {
                "value": "dep_2DrDKk5NIMbpuNGqm109SkpGDHh"
              },
              "sandbox": {
                "value": "sbx_dep_2DrDKk5NIMbpuNGqm109SkpGDHh"
              }
            }
          },
          {
            "in": "query",
            "name": "platform_id",
            "schema": {
              "type": "string"
            },
            "description": "The unique platform identifier. \n\nPrefix is \"plt\" in production and \"sbx_plt\" in sandbox.",
            "examples": {
              "production": {
                "value": "plt_2DrDRpyAdp5MPUJnrJmoZcMmtfF"
              },
              "sandbox": {
                "value": "plt_2DrDRpyAdp5MPUJnrJmoZcMmtfF"
              }
            }
          },
          {
            "in": "query",
            "name": "merchant_id",
            "schema": {
              "type": "string"
            },
            "description": "The unique merchant identifier. \n\nPrefix is \"mid\" in production and \"sbx_mid\" in sandbox.",
            "examples": {
              "production": {
                "value": "mid_2DrDFJPutxE5AIbJSopAnqniEbr"
              },
              "sandbox": {
                "value": "sbx_mid_2DrDFJPutxE5AIbJSopAnqniEbr"
              }
            }
          },
          {
            "name": "status",
            "in": "query",
            "description": "One or more deposit statuses to filter by. Provide parameter multiple times to filter by multiple deposit status types. \n\n`SCHEDULED` `PROCESSING` `SUCCEEDED` `IN_REVIEW` `FAILED` `CANCELED`",
            "schema": {
              "type": "array",
              "items": {
                "description": "The status of the deposit.",
                "type": "string",
                "enum": [
                  "FAILED",
                  "IN_REVIEW",
                  "PROCESSING",
                  "SUCCEEDED",
                  "SCHEDULED",
                  "CANCELED"
                ],
                "example": "PROCESSING"
              }
            }
          },
          {
            "name": "deposit_type",
            "in": "query",
            "description": "Deposit type to filter by. Provide parameter multiple times to filter by multiple deposit types.\n\n* `BILLING`: deposit for the payment processing fees, applicable only for merchants on gross billing.\n* `FUNDING`: deposit for the payment volume, if the merchant is on net billing, then the FUNDING deposit will be net any payment processing fees.",
            "schema": {
              "type": "array",
              "items": {
                "name": "deposit_type",
                "description": "The type of deposit.\n\n* `BILLING`: deposit for the payment processing fees, applicable only for merchants on gross billing.\n* `FUNDING`: deposit for the payment volume, if the merchant is on net billing, then the `FUNDING` deposit will be net any payment processing fees.",
                "type": "string",
                "enum": [
                  "BILLING",
                  "FUNDING"
                ],
                "example": "FUNDING"
              }
            }
          },
          {
            "in": "query",
            "name": "metadata",
            "schema": {
              "type": "string"
            },
            "description": "Filter by metadata stored on the entity by passing a map of key-value pairs to filter on. The `key` should be valid JSONPath to a corresponding metadata key.\n\nFor example, an entity created with the following metadata\n```\n\"account\": {\n  \"id\": \"acct_123\"\n}\n```\ncould have the following metadata filter to find entities with the metadata account id: \n```\n?metadata[$.account.id]=acct_123\n```"
          },
          {
            "in": "query",
            "name": "created_at.start",
            "description": "Created on or after in UTC RFC 3339 format.",
            "schema": {
              "type": "string",
              "format": "date-time"
            },
            "example": "2022-01-01T12:00:00Z"
          },
          {
            "in": "query",
            "name": "created_at.end",
            "description": "Created on or before in UTC RFC 3339 format.",
            "schema": {
              "type": "string",
              "format": "date-time"
            },
            "example": "2022-01-01T12:00:00Z"
          },
          {
            "name": "sort_by",
            "in": "query",
            "description": "Optional value by which to sort the result set. Default sort by is created_at.",
            "schema": {
              "type": "string",
              "enum": [
                "amount",
                "created_at",
                "merchant_id",
                "status"
              ]
            }
          },
          {
            "in": "query",
            "name": "sort_order",
            "description": "Order in which to return the sorted results; ascending or descending. Default sort order is descending.",
            "schema": {
              "type": "string",
              "enum": [
                "asc",
                "desc"
              ]
            }
          },
          {
            "in": "query",
            "name": "limit",
            "schema": {
              "type": "number",
              "default": 1000,
              "maximum": 1000
            },
            "description": "The maximum number of results to return."
          },
          {
            "in": "query",
            "name": "offset",
            "schema": {
              "type": "number",
              "default": 0,
              "minimum": 0
            },
            "description": "The offset of the first result to return; zero-based."
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "description": "Status of the request.\n\nIf the request status code is 2XX, then the `status` will be `SUCCESS`. If the request status code is 4XX or 5XX, then the `status` will be `ERROR`.",
                      "type": "string",
                      "enum": [
                        "SUCCESS",
                        "ERROR"
                      ],
                      "example": "SUCCESS"
                    },
                    "data": {
                      "allOf": [
                        {
                          "type": "object",
                          "properties": {
                            "total_results": {
                              "type": "integer",
                              "description": "Total number of results available. This value will be -1 if the query parameter `omit_total_results` is set to true."
                            }
                          }
                        },
                        {
                          "type": "object",
                          "properties": {
                            "results": {
                              "description": "List of deposits.",
                              "type": "array",
                              "items": {
                                "$ref": "#/paths/~1v1~1deposits~1{deposit_id}/get/responses/200/content/application~1json/schema/properties/data"
                              }
                            }
                          }
                        }
                      ]
                    },
                    "errors": {
                      "description": "List of errors, if applicable.",
                      "type": "array",
                      "items": {
                        "type": "object",
                        "description": "Details of the error.",
                        "properties": {
                          "field": {
                            "description": "The field in the request that had an error, if applicable.",
                            "type": "string"
                          },
                          "code": {
                            "description": "The code describing the error.",
                            "type": "string"
                          },
                          "message": {
                            "description": "The description of the error related to the field.",
                            "type": "string"
                          }
                        }
                      },
                      "example": null
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request, check for validation errors.",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Default response object.",
                  "type": "object",
                  "properties": {
                    "status": {
                      "$ref": "#/paths/~1v1~1deposits/get/responses/200/content/application~1json/schema/properties/status"
                    },
                    "data": {
                      "description": "Generic data object specified per resource, null if there are request errors.",
                      "type": "object",
                      "example": null,
                      "nullable": true,
                      "readOnly": true
                    },
                    "errors": {
                      "$ref": "#/paths/~1v1~1deposits/get/responses/200/content/application~1json/schema/properties/errors"
                    }
                  }
                },
                "example": {
                  "status": "ERROR",
                  "data": null,
                  "errors": [
                    {
                      "field": "string",
                      "code": "RequestBody",
                      "message": "Invalid request payload"
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Authorization missing or invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/paths/~1v1~1deposits/get/responses/400/content/application~1json/schema"
                },
                "example": {
                  "status": "ERROR",
                  "data": null,
                  "errors": [
                    {
                      "field": "string",
                      "code": "AuthUnauthorized",
                      "message": "Unauthorized"
                    }
                  ]
                }
              }
            }
          },
          "403": {
            "description": "Authorization insufficient for requested action.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/paths/~1v1~1deposits/get/responses/400/content/application~1json/schema"
                },
                "example": {
                  "status": "ERROR",
                  "data": null,
                  "errors": [
                    {
                      "field": "string",
                      "code": "AuthForbidden",
                      "message": "Forbidden"
                    }
                  ]
                }
              }
            }
          },
          "5XX": {
            "description": "Unexpected error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/paths/~1v1~1deposits/get/responses/400/content/application~1json/schema"
                },
                "example": {
                  "status": "ERROR",
                  "data": null,
                  "errors": [
                    {
                      "field": "string",
                      "code": "string",
                      "message": "Internal Server Error"
                    }
                  ]
                }
              }
            }
          }
        },
        "tags": [
          "Deposits"
        ]
      }
    },
    "/v1/deposits/{deposit_id}": {
      "get": {
        "operationId": "get_deposit",
        "summary": "Get deposit",
        "description": "Get a deposit's details by the deposit ID.",
        "parameters": [
          {
            "$ref": "#/paths/~1v1~1deposits/get/parameters/0"
          },
          {
            "in": "path",
            "required": true,
            "name": "deposit_id",
            "schema": {
              "type": "string"
            },
            "description": "The unique deposit identifier. \n\nPrefix is \"dep\" in production and \"sbx_dep\" in sandbox.",
            "examples": {
              "production": {
                "value": "dep_2DrDKk5NIMbpuNGqm109SkpGDHh"
              },
              "sandbox": {
                "value": "sbx_dep_2DrDKk5NIMbpuNGqm109SkpGDHh"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "status": {
                      "$ref": "#/paths/~1v1~1deposits/get/responses/200/content/application~1json/schema/properties/status"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "deposit_id": {
                          "description": "The unique deposit identifier. \n\nPrefix is \"dep\" in production and \"sbx_dep\" in sandbox.",
                          "type": "string",
                          "example": "dep_2DrDU206kzAhclm1WrZbuwDERRk"
                        },
                        "platform_id": {
                          "$ref": "#/paths/~1v1~1deposit_method_configs/post/responses/200/content/application~1json/schema/properties/data/properties/platform_id",
                          "nullable": true,
                          "description": "The unique platform identifier. `platform_id` will be set for a platform deposit. Only one of `platform_id` and `merchant_id` will be set.\n\nPrefix is \"plt\" in production and \"sbx_plt\" in sandbox."
                        },
                        "merchant_id": {
                          "$ref": "#/paths/~1v1~1deposit_methods~1{deposit_method_id}~1payin/post/responses/200/content/application~1json/schema/properties/data/properties/merchant_id",
                          "nullable": true,
                          "description": "The unique merchant identifier. `merchant_id` will be set for a merchant deposit. Only one of `platform_id` and `merchant_id` will be set.\n\nPrefix is \"mid\" in production and \"sbx_mid\" in sandbox."
                        },
                        "status": {
                          "$ref": "#/paths/~1v1~1deposits/get/parameters/4/schema/items"
                        },
                        "deposit_type": {
                          "$ref": "#/paths/~1v1~1deposits/get/parameters/5/schema/items"
                        },
                        "billing_type": {
                          "$ref": "#/paths/~1v1~1deposit_methods~1{deposit_method_id}~1payin/post/responses/200/content/application~1json/schema/properties/data/properties/billing_type"
                        },
                        "amount": {
                          "description": "The amount deposited, in minor units.\n\nFor example, 1000 is 10.00 USD.",
                          "type": "integer",
                          "minimum": 0
                        },
                        "currency_code": {
                          "$ref": "#/paths/~1v1~1merchants~1{merchant_id}~1simulate_complete_payments/post/responses/200/content/application~1json/schema/properties/data/properties/pending_balance/properties/currency_code"
                        },
                        "deposit_fee_amount": {
                          "type": "object",
                          "properties": {
                            "amount": {
                              "description": "The amount of the deposit fee, in minor units.\n\nFor example, 20 is 0.20 USD.",
                              "type": "integer"
                            },
                            "currency_code": {
                              "$ref": "#/paths/~1v1~1merchants~1{merchant_id}~1simulate_complete_payments/post/responses/200/content/application~1json/schema/properties/data/properties/pending_balance/properties/currency_code"
                            }
                          }
                        },
                        "total_payment_billing_fees_amount": {
                          "type": "object",
                          "properties": {
                            "amount": {
                              "description": "The total amount of the billing fees for all the deposit activity, in minor units.\n\nFor example, -100 is -1.00 USD.",
                              "type": "integer"
                            },
                            "currency_code": {
                              "$ref": "#/paths/~1v1~1merchants~1{merchant_id}~1simulate_complete_payments/post/responses/200/content/application~1json/schema/properties/data/properties/pending_balance/properties/currency_code"
                            }
                          }
                        },
                        "total_split_remainder_amount": {
                          "type": "object",
                          "properties": {
                            "amount": {
                              "description": "The total amount of the amount splits for all the deposit activity, in minor units.\n\nFor example, -100 is -1.00 USD.",
                              "type": "integer"
                            },
                            "currency_code": {
                              "$ref": "#/paths/~1v1~1merchants~1{merchant_id}~1simulate_complete_payments/post/responses/200/content/application~1json/schema/properties/data/properties/pending_balance/properties/currency_code"
                            }
                          }
                        },
                        "total_fees_amount": {
                          "type": "object",
                          "properties": {
                            "amount": {
                              "description": "The total amount of the billing fees and the amount splits for all the deposit activity, in minor units.\n\nEqual to total_payment_billing_fees_amount + total_split_remainder_amount",
                              "type": "integer"
                            },
                            "currency_code": {
                              "$ref": "#/paths/~1v1~1merchants~1{merchant_id}~1simulate_complete_payments/post/responses/200/content/application~1json/schema/properties/data/properties/pending_balance/properties/currency_code"
                            }
                          }
                        },
                        "gross_amount": {
                          "type": "object",
                          "properties": {
                            "amount": {
                              "description": "The gross amount of all the deposit activity, in minor units.\n\nFor example, 1000 is 10.00 USD.",
                              "type": "integer"
                            },
                            "currency_code": {
                              "$ref": "#/paths/~1v1~1merchants~1{merchant_id}~1simulate_complete_payments/post/responses/200/content/application~1json/schema/properties/data/properties/pending_balance/properties/currency_code"
                            }
                          }
                        },
                        "payment_totals": {
                          "description": "The total count and amount summaries for each payment type in the deposit. Payment types include `payins`, `refunds`, `chargebacks`, `ach_returns`, `adjustments`, and `deposits`.\n\nFor a merchant on interchange plus (IC+) billing, also includes `interchange` and `dfa`.",
                          "type": "object",
                          "properties": {
                            "payins": {
                              "type": "object",
                              "properties": {
                                "count": {
                                  "description": "The total count of the activity type deposited.",
                                  "type": "integer"
                                },
                                "gross_amount": {
                                  "type": "object",
                                  "properties": {
                                    "amount": {
                                      "description": "The gross amount for the activity type deposited, in minor units.\n\nFor example, 1000 is 10.00 USD.",
                                      "type": "integer"
                                    },
                                    "currency_code": {
                                      "$ref": "#/paths/~1v1~1merchants~1{merchant_id}~1simulate_complete_payments/post/responses/200/content/application~1json/schema/properties/data/properties/pending_balance/properties/currency_code"
                                    }
                                  }
                                },
                                "billing_fees_amount": {
                                  "type": "object",
                                  "properties": {
                                    "amount": {
                                      "description": "The total amount of the billing fees for the activity type deposited, in minor units.\n\nFor example, -20 is -0.20 USD.",
                                      "type": "integer"
                                    },
                                    "currency_code": {
                                      "$ref": "#/paths/~1v1~1merchants~1{merchant_id}~1simulate_complete_payments/post/responses/200/content/application~1json/schema/properties/data/properties/pending_balance/properties/currency_code"
                                    }
                                  }
                                },
                                "split_remainder_amount": {
                                  "type": "object",
                                  "properties": {
                                    "amount": {
                                      "description": "The total amount of the amount splits for the activity type deposited, in minor units.\n\nFor example, -20 is -0.20 USD.",
                                      "type": "integer"
                                    },
                                    "currency_code": {
                                      "$ref": "#/paths/~1v1~1merchants~1{merchant_id}~1simulate_complete_payments/post/responses/200/content/application~1json/schema/properties/data/properties/pending_balance/properties/currency_code"
                                    }
                                  }
                                },
                                "net_amount": {
                                  "type": "object",
                                  "properties": {
                                    "amount": {
                                      "description": "The total amount for the activity type deposited, in minor units.\n\nEqual to gross_amount - billing_fees_amount - split_remainder_amount",
                                      "type": "integer"
                                    },
                                    "currency_code": {
                                      "$ref": "#/paths/~1v1~1merchants~1{merchant_id}~1simulate_complete_payments/post/responses/200/content/application~1json/schema/properties/data/properties/pending_balance/properties/currency_code"
                                    }
                                  }
                                }
                              }
                            },
                            "refunds": {
                              "$ref": "#/paths/~1v1~1deposits~1{deposit_id}/get/responses/200/content/application~1json/schema/properties/data/properties/payment_totals/properties/payins"
                            },
                            "chargebacks": {
                              "$ref": "#/paths/~1v1~1deposits~1{deposit_id}/get/responses/200/content/application~1json/schema/properties/data/properties/payment_totals/properties/payins"
                            },
                            "ach_returns": {
                              "$ref": "#/paths/~1v1~1deposits~1{deposit_id}/get/responses/200/content/application~1json/schema/properties/data/properties/payment_totals/properties/payins"
                            },
                            "adjustments": {
                              "$ref": "#/paths/~1v1~1deposits~1{deposit_id}/get/responses/200/content/application~1json/schema/properties/data/properties/payment_totals/properties/payins"
                            },
                            "deposits": {
                              "$ref": "#/paths/~1v1~1deposits~1{deposit_id}/get/responses/200/content/application~1json/schema/properties/data/properties/payment_totals/properties/payins"
                            },
                            "interchange": {
                              "description": "The total count and amount summary of interchange activity in the deposit. Only applicable for a merchant on interchange plus (IC+) billing.",
                              "allOf": [
                                {
                                  "$ref": "#/paths/~1v1~1deposits~1{deposit_id}/get/responses/200/content/application~1json/schema/properties/data/properties/payment_totals/properties/payins"
                                }
                              ]
                            },
                            "dfa": {
                              "description": "The total count and amount summary of DFA activity in the deposit. Only applicable for a merchant on interchange plus (IC+) billing.",
                              "allOf": [
                                {
                                  "$ref": "#/paths/~1v1~1deposits~1{deposit_id}/get/responses/200/content/application~1json/schema/properties/data/properties/payment_totals/properties/payins"
                                }
                              ]
                            }
                          }
                        },
                        "method_type": {
                          "$ref": "#/paths/~1v1~1deposit_methods/post/requestBody/content/application~1json/schema/properties/method_type"
                        },
                        "ach": {
                          "description": "ACH deposit method details.",
                          "$ref": "#/paths/~1v1~1deposit_methods~1{deposit_method_id}~1payin/post/responses/200/content/application~1json/schema/properties/data/properties/ach"
                        },
                        "plaid_ach": {
                          "description": "ACH deposit method details from Plaid.",
                          "$ref": "#/paths/~1v1~1deposit_methods/post/responses/200/content/application~1json/schema/properties/data/properties/plaid_ach"
                        },
                        "is_on_demand": {
                          "description": "Boolean indicating that the platform requested the deposit through the create on-demand deposit endpoint. Set to false for deposits created on the merchant's deposit schedule.",
                          "type": "boolean"
                        },
                        "scheduled_deposit_date": {
                          "description": "The date the deposit is scheduled to process on, in ISO 8601 format (YYYY-MM-DD).\n\nThis value will be set if `is_on_demand` is `true`.",
                          "type": "string",
                          "format": "date",
                          "nullable": true,
                          "example": "2022-01-01"
                        },
                        "failure_code": {
                          "description": "The ACH return code explaining the reason the deposit failed.\n\nThis value will be set if the deposit status is `FAILED`.",
                          "type": "string",
                          "nullable": false,
                          "enum": [
                            "R01",
                            "R02",
                            "R03",
                            "R05",
                            "R06",
                            "R07",
                            "R08",
                            "R09",
                            "R10",
                            "R11",
                            "R12",
                            "R13",
                            "R14",
                            "R15",
                            "R16",
                            "R17",
                            "R18",
                            "R19",
                            "R20",
                            "R21",
                            "R22",
                            "R23",
                            "R24",
                            "R25",
                            "R26",
                            "R27",
                            "R28",
                            "R29",
                            "R30",
                            "R31",
                            "R32",
                            "R33",
                            "R34",
                            "R35",
                            "R36",
                            "R37",
                            "R38",
                            "R39",
                            "R40",
                            "R41",
                            "R42",
                            "R43",
                            "R44",
                            "R45",
                            "R46",
                            "R47",
                            "R50",
                            "R51",
                            "R52",
                            "R53",
                            "R61",
                            "R62",
                            "R67",
                            "R68",
                            "R69",
                            "R70",
                            "R71",
                            "R72",
                            "R73",
                            "R74",
                            "R75",
                            "R76",
                            "R77",
                            "R80",
                            "R81",
                            "R82",
                            "R83",
                            "R84",
                            "R85"
                          ]
                        },
                        "failure_desc": {
                          "description": "The description explaining the reason the deposit failed. This will be a human-readable value that may be presented to the end user.",
                          "type": "string",
                          "nullable": false,
                          "examples": [
                            "Insufficient Funds",
                            "Account Closed",
                            "Corporate Customer Advises Not Authorized"
                          ]
                        },
                        "canceled_by": {
                          "nullable": true,
                          "name": "canceled_by",
                          "description": "Who canceled the deposit.\n\n* `MERCHANT`: canceled by the merchant.\n* `PLATFORM`: canceled by the platform's own integration.\n* `RAINFOREST`: canceled by Rainforest.",
                          "type": "string",
                          "enum": [
                            "MERCHANT",
                            "PLATFORM",
                            "RAINFOREST"
                          ],
                          "example": "MERCHANT"
                        },
                        "cancel_reason": {
                          "description": "The reason the deposit was canceled.\n\nThis value will only be set if the deposit status is `CANCELED` and a reason was given.",
                          "type": "string",
                          "nullable": true,
                          "example": "No longer needed"
                        },
                        "metadata": {
                          "$ref": "#/paths/~1v1~1deposits/post/requestBody/content/application~1json/schema/properties/metadata"
                        },
                        "created_at": {
                          "description": "Date and time deposit was created at in UTC RFC 3339 format.",
                          "type": "string",
                          "format": "date-time",
                          "example": "2022-01-01T12:00:00Z"
                        },
                        "scheduled_at": {
                          "description": "Date and time the deposit was scheduled at in UTC RFC 3339 format. The deposit includes the merchant's available balance as of this time.\n\nThis value will be set if `is_on_demand` is `true`.",
                          "type": "string",
                          "format": "date-time",
                          "nullable": true,
                          "example": "2022-01-01T12:00:00Z"
                        },
                        "processed_at": {
                          "description": "Date and time the deposit was processed at in UTC RFC 3339 format.\n\nThis value will be set once the deposit status is `PROCESSING`.",
                          "type": "string",
                          "format": "date-time",
                          "nullable": true,
                          "example": "2022-01-01T12:00:00Z"
                        },
                        "canceled_at": {
                          "description": "Date and time the deposit was canceled at in UTC RFC 3339 format.\n\nThis value will only be set if the deposit status is `CANCELED`.",
                          "type": "string",
                          "format": "date-time",
                          "nullable": true,
                          "example": "2022-01-01T12:00:00Z"
                        }
                      }
                    },
                    "errors": {
                      "$ref": "#/paths/~1v1~1deposits/get/responses/200/content/application~1json/schema/properties/errors"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/paths/~1v1~1deposits/get/responses/400"
          },
          "401": {
            "$ref": "#/paths/~1v1~1deposits/get/responses/401"
          },
          "403": {
            "$ref": "#/paths/~1v1~1deposits/get/responses/403"
          },
          "404": {
            "description": "Resource not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/paths/~1v1~1deposits/get/responses/400/content/application~1json/schema"
                },
                "example": {
                  "status": "ERROR",
                  "data": null,
                  "errors": [
                    {
                      "field": "string",
                      "code": "EntityNotFound",
                      "message": "Resource not found"
                    }
                  ]
                }
              }
            }
          },
          "5XX": {
            "$ref": "#/paths/~1v1~1deposits/get/responses/5XX"
          }
        },
        "tags": [
          "Deposits"
        ]
      }
    },
    "/v1/merchants/{merchant_id}/simulate_deposit": {
      "post": {
        "operationId": "simulate_merchant_deposit",
        "summary": "Simulate merchant deposit creation",
        "description": "Only available in the Rainforest sandbox environment.\n\nSimulate processing a deposit on a merchant. Any payins or refunds with the status of `PROCESSING` will be transitioned to the status of `SUCCEEDED`.\n\nThe expected webhooks will be sent for all payins and refunds while the deposit is processing. The `deposit.processing` webhook will be sent when the deposit has been processed and the deposit status is `PROCESSING`.\n\nOn a merchant with a Daily Net billing configuration, a deposit will be processed with an amount that corresponds to the payment activity, less any applicable fees.\n\nOn a merchant with a Daily Gross billing configuration, two deposits will be processed:\n  1. A funding deposit with an amount that corresponds to the gross amount of the payment activity.\n  2. A billing deposit with an amount that corresponds to the applicable billing fees of the payment activity.\n\nOn a merchant with a Monthly Gross billing configuration, only the funding deposit will be processed with an amount that corresponds to the gross amount of the payment activity.",
        "parameters": [
          {
            "$ref": "#/paths/~1v1~1deposits/get/parameters/0"
          },
          {
            "in": "path",
            "required": true,
            "name": "merchant_id",
            "schema": {
              "type": "string"
            },
            "description": "The unique merchant identifier. \n\nPrefix is \"mid\" in production and \"sbx_mid\" in sandbox.",
            "examples": {
              "production": {
                "value": "mid_2DrDFJPutxE5AIbJSopAnqniEbr"
              },
              "sandbox": {
                "value": "sbx_mid_2DrDFJPutxE5AIbJSopAnqniEbr"
              }
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content.\n\nThe merchant deposit(s) have been processed with a deposit status of `PROCESSING`."
          },
          "400": {
            "$ref": "#/paths/~1v1~1deposits/get/responses/400"
          },
          "401": {
            "$ref": "#/paths/~1v1~1deposits/get/responses/401"
          },
          "403": {
            "$ref": "#/paths/~1v1~1deposits/get/responses/403"
          },
          "404": {
            "$ref": "#/paths/~1v1~1deposits~1{deposit_id}/get/responses/404"
          },
          "5XX": {
            "$ref": "#/paths/~1v1~1deposits/get/responses/5XX"
          }
        },
        "tags": [
          "Deposits"
        ]
      }
    }
  },
  "tags": [
    {
      "name": "Deposits",
      "description": "Resources for deposit functions."
    }
  ],
  "components": {
    "securitySchemes": {
      "BearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "APIKey"
      }
    }
  },
  "security": [
    {
      "BearerAuth": []
    }
  ]
}
````