---
updatedAt: 2026-05-27T09:42:40.000Z
agentTools:
  projectIndex: https://docs.truelayer.com/llms.txt
---

# Get deposit for user

Fetches details for a previously created deposit.

> 🚧 Payments API v3
>
> The [Payments API v3](https://docs.truelayer.com/reference/create-payment) is the latest version of the TrueLayer payments API. It includes all of the functionality of the PayDirect API, so we recommend you use it instead.


# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Legacy - PayDirect API",
    "version": "1.0"
  },
  "x-readme": {
    "samples-languages": [
      "shell",
      "java",
      "csharp",
      "php"
    ]
  },
  "servers": [
    {
      "url": "https://paydirect.truelayer-sandbox.com",
      "description": "Sandbox server"
    },
    {
      "url": "https://paydirect.truelayer.com",
      "description": "Production server"
    }
  ],
  "tags": [
    {
      "name": "Deposits",
      "description": "Deposit (Payins) Endpoints."
    },
    {
      "name": "Users",
      "description": "User Endpoints."
    }
  ],
  "paths": {
    "/v1/users/{user_id}/deposits/{deposit_id}": {
      "get": {
        "tags": [
          "Deposits",
          "Users"
        ],
        "summary": "Get deposit for user",
        "description": "Fetches details for a previously created deposit.\n\n> 🚧 Payments API v3\n>\n> The [Payments API v3](https://docs.truelayer.com/reference/create-payment) is the latest version of the TrueLayer payments API. It includes all of the functionality of the PayDirect API, so we recommend you use it instead.\n",
        "security": [
          {
            "Oauth2": [
              "paydirect"
            ]
          }
        ],
        "parameters": [
          {
            "name": "user_id",
            "in": "path",
            "description": "User ID",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "description": "UUID identifying the user for the current client"
            }
          },
          {
            "name": "deposit_id",
            "in": "path",
            "description": "Deposit ID",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "description": "UUID identifying the deposit"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json; charset=UTF-8": {
                "schema": {
                  "$ref": "#/components/schemas/UserDeposit"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "500": {
            "$ref": "#/components/responses/InternalServerError"
          }
        }
      }
    }
  },
  "components": {
    "responses": {
      "BadRequest": {
        "description": "Invalid Request",
        "content": {
          "application/json; charset=UTF-8": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      },
      "Unauthorized": {
        "description": "Unauthorized",
        "content": {
          "application/json; charset=UTF-8": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      },
      "NotFound": {
        "description": "Not Found",
        "content": {
          "application/json; charset=UTF-8": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      },
      "InternalServerError": {
        "description": "Internal Server Error",
        "content": {
          "application/json; charset=UTF-8": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      }
    },
    "schemas": {
      "Error": {
        "type": "object",
        "properties": {
          "error": {
            "type": "string"
          },
          "error_description": {
            "type": "string"
          }
        },
        "required": [
          "error",
          "error_description"
        ]
      },
      "Currency": {
        "type": "string",
        "enum": [
          "GBP",
          "EUR"
        ]
      },
      "PayV2Account": {
        "type": "object",
        "example": {
          "type": "sort_code_account_number",
          "sort_code": "987654",
          "account_number": "98765432"
        },
        "properties": {
          "type": {
            "type": "string"
          },
          "sort_code": {
            "type": "string"
          },
          "account_number": {
            "type": "string"
          },
          "iban": {
            "type": "string"
          },
          "bban": {
            "type": "string"
          },
          "nrb": {
            "type": "string"
          }
        },
        "required": [
          "type"
        ]
      },
      "UserDeposit": {
        "type": "object",
        "properties": {
          "result": {
            "type": "object",
            "properties": {
              "deposit_id": {
                "type": "uuid"
              },
              "status": {
                "type": "string"
              },
              "initiated_at": {
                "type": "string",
                "format": "date-time",
                "description": "UTC DateTime ISO 8601 string"
              },
              "amount_in_minor": {
                "type": "integer"
              },
              "currency": {
                "$ref": "#/components/schemas/Currency"
              },
              "provider_id": {
                "type": "string"
              },
              "scheme_id": {
                "type": "string"
              },
              "fee_option_id": {
                "type": "string"
              },
              "beneficiary": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "account": {
                    "$ref": "#/components/schemas/PayV2Account"
                  }
                }
              },
              "remitter": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "account": {
                    "$ref": "#/components/schemas/PayV2Account"
                  }
                }
              },
              "references": {
                "type": "object",
                "example": {
                  "type": "single",
                  "reference": "REF123"
                },
                "properties": {
                  "type": {
                    "type": "string"
                  },
                  "reference": {
                    "type": "string"
                  },
                  "beneficiary": {
                    "type": "string"
                  },
                  "remitter": {
                    "type": "string"
                  }
                }
              },
              "settled": {
                "type": "object",
                "properties": {
                  "transaction_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "settled_at": {
                    "type": "string",
                    "format": "date-time",
                    "description": "UTC DateTime ISO 8601 string"
                  },
                  "account_id": {
                    "type": "string",
                    "format": "uuid"
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
```