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

# Retrieve a rejected Auto Swap deposit

Return one rejected Auto Swap deposit using its public ID, including the payment details, rejection reason, and resolution status.

# 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/{public_id}": {
      "get": {
        "summary": "Retrieve a rejected Auto Swap deposit",
        "description": "Return one rejected Auto Swap deposit using its public ID, including the payment details, rejection reason, and resolution status.",
        "operationId": "retrieve-a-rejected-auto-swap-deposit",
        "parameters": [
          {
            "name": "public_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"status\": \"ok\",\n  \"message\": \"Rejected auto swap deposit found\",\n  \"data\": {\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}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string",
                      "example": "ok"
                    },
                    "message": {
                      "type": "string",
                      "example": "Rejected auto swap deposit found"
                    },
                    "data": {
                      "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"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "404",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"status\": \"not_found\",\n  \"message\": \"Rejected auto swap deposit not found\",\n  \"data\": null\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string",
                      "example": "not_found"
                    },
                    "message": {
                      "type": "string",
                      "example": "Rejected auto swap deposit not found"
                    },
                    "data": {}
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true,
  "_id": "6981ba5faf9470ee082aeecd:6ad532559393fe08dd72c9ed"
}
```