---
agentTools:
  projectIndex: https://docs.quidax.io/llms.txt
---

# List rejected Auto Swap deposits

Return deposits into your app's Auto Swap static bank accounts that could not proceed with a crypto purchase. Each record includes the deposit amount, rejection reason, and resolution status: pending, refunded, or ignored.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Ramp Merchant API",
    "version": "3.0"
  },
  "servers": [
    {
      "url": "https://ramp-be.quidax.io/api/v1/merchants/"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "name": "x-private-key",
        "in": "header",
        "x-default": "secret_key"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/custodial/auto_swap/rejected_deposits": {
      "get": {
        "summary": "List rejected Auto Swap deposits",
        "description": "Return deposits into your app's Auto Swap static bank accounts that could not proceed with a crypto purchase. Each record includes the deposit amount, rejection reason, and resolution status: pending, refunded, or ignored.",
        "operationId": "list-rejected-auto-swap-deposits",
        "parameters": [
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "pending",
                "refunded",
                "ignored"
              ],
              "default": "pending"
            }
          },
          {
            "name": "currency",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "ngn"
              ],
              "default": "ngn"
            }
          },
          {
            "name": "page",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "1"
            }
          },
          {
            "name": "per_page",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "25"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"status\": \"ok\",\n  \"message\": \"Rejected auto swap deposits fetched successfully\",\n  \"data\": [\n    {\n      \"public_id\": \"a54e27aa-66eb-4c69-b7c3-736cfce856cf\",\n      \"status\": \"pending\",\n      \"reason\": \"Deposit amount is below the minimum allowed\",\n      \"amount\": \"500.0\",\n      \"currency\": \"ngn\",\n      \"deposit_reference\": \"KPY-DEP-1042\",\n      \"auto_swap_public_id\": \"550e8400-e29b-41d4-a716-446655440000\",\n      \"customer_email\": \"customer@example.com\",\n      \"account_number\": \"0123456789\",\n      \"created_at\": \"2026-10-18T10:00:00.000Z\",\n      \"updated_at\": \"2026-10-18T10:00:00.000Z\"\n    }\n  ],\n  \"meta\": {\n    \"page\": 1,\n    \"per_page\": 25,\n    \"total_count\": 1,\n    \"total_pages\": 1,\n    \"next_page\": null\n  }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string",
                      "example": "ok"
                    },
                    "message": {
                      "type": "string",
                      "example": "Rejected auto swap deposits fetched successfully"
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "public_id": {
                            "type": "string",
                            "example": "a54e27aa-66eb-4c69-b7c3-736cfce856cf"
                          },
                          "status": {
                            "type": "string",
                            "example": "pending"
                          },
                          "reason": {
                            "type": "string",
                            "example": "Deposit amount is below the minimum allowed"
                          },
                          "amount": {
                            "type": "string",
                            "example": "500.0"
                          },
                          "currency": {
                            "type": "string",
                            "example": "ngn"
                          },
                          "deposit_reference": {
                            "type": "string",
                            "example": "KPY-DEP-1042"
                          },
                          "auto_swap_public_id": {
                            "type": "string",
                            "example": "550e8400-e29b-41d4-a716-446655440000"
                          },
                          "customer_email": {
                            "type": "string",
                            "example": "customer@example.com"
                          },
                          "account_number": {
                            "type": "string",
                            "example": "0123456789"
                          },
                          "created_at": {
                            "type": "string",
                            "example": "2026-10-18T10:00:00.000Z"
                          },
                          "updated_at": {
                            "type": "string",
                            "example": "2026-10-18T10:00:00.000Z"
                          }
                        }
                      }
                    },
                    "meta": {
                      "type": "object",
                      "properties": {
                        "page": {
                          "type": "integer",
                          "example": 1,
                          "default": 0
                        },
                        "per_page": {
                          "type": "integer",
                          "example": 25,
                          "default": 0
                        },
                        "total_count": {
                          "type": "integer",
                          "example": 1,
                          "default": 0
                        },
                        "total_pages": {
                          "type": "integer",
                          "example": 1,
                          "default": 0
                        },
                        "next_page": {}
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"status\": \"bad_request\",\n  \"message\": \"start_date must be less than or equal to end_date\",\n  \"data\": null\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string",
                      "example": "bad_request"
                    },
                    "message": {
                      "type": "string",
                      "example": "start_date must be less than or equal to end_date"
                    },
                    "data": {}
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true,
  "_id": "6981ba5faf9470ee082aeecd:6ad52ecd6f70213282d298d7"
}
```