---
title: "Get Mandate Document"
method: GET
path: "/v2/moneyins/{accountid}/mandate/{mandateid}/document"
tags: ["MoneyIns | Direct Debits"]
---

# Get Mandate Document

`GET /v2/moneyins/{accountid}/mandate/{mandateid}/document`

## Request

- Base URL: `https://ws.lemonway.fr/mb/env-name/prod/directkitrest`
- URL: `https://ws.lemonway.fr/mb/env-name/prod/directkitrest/v2/moneyins/{accountid}/mandate/{mandateid}/document`
- Auth: none declared. Required headers: `Authorization`, `PSU-IP-Address`

Download a mandate document that is registered to one of your payment accounts.

## Path parameters

- `accountid` string, required
- `mandateid` integer, required

## Headers

- `Authorization` string, required
- `PSU-Accept-Language` string
- `PSU-IP-Address` string, required
- `PSU-User-Agent` string

## Response `200`

OK

- MandateGetDocumentOutput: Output of the MandateGetDocument method
  - `document` string: Document in base64
  - `name` string: Document name
  - `error` Error
    - `code` integer
    - `message` string
    - `psp` PSP
      - `message` string: Get the Error Message from PSP

## Other responses

- `401`: Unauthorized
- `500`: InternalServerError

---

[API](https://skmtc.dev/lemonway/apis/lemonway-directkit-api-2-0.md) - [All operations](https://skmtc.dev/lemonway/apis/lemonway-directkit-api-2-0/llms.txt) - [OpenAPI document](https://skmtc.dev/lemonway/apis/lemonway-directkit-api-2-0/revisions/82551a0a77b8?raw)
