---
title: "Get Mandate Associated to a Payment Account"
method: GET
path: "/v2/moneyins/{accountid}/mandate"
tags: ["MoneyIns | Direct Debits"]
---

# Get Mandate Associated to a Payment Account

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

## 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`
- Auth: none declared. Required headers: `Authorization`, `PSU-IP-Address`

## Path parameters

- `accountid` string, required

## Headers

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

## Response `200`

OK

- AccountMandatsOutput
  - `mandates` SddMandate[]: List of documents that changed since the entry date.
    - `id` integer: Mandate ID
    - `status` 0 | 5 | 6 | 8 | 9: Mandate Status<br/>0 = Pending validation.<br/>5 = Validated, First SDD to be done.<br/>6 = Enabled.<br/>8 = Disabled.<br/>9 = Rejected.<br/>
    - `IBAN` string: IBAN associated to the mandate
    - `BIC` string: SWIFT code associated to the mandate
    - `holder` string: IBAN Holder
    - `UniqueMandateReference` string: Unique mandate reference
  - `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)
