> For the complete documentation index, see [llms.txt](https://evolvecredit.gitbook.io/evolve-credit-api-suite/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://evolvecredit.gitbook.io/evolve-credit-api-suite/api-reference/debit-mandate.md).

# Debit Mandate

## Debit Mandate

<mark style="color:blue;">`GET`</mark> `https://configure-abierta-test.herokuapp.com/api/v1/{resourceID}/debit_mandate`

#### Path Parameters

| Name       | Type   | Description                                                               |
| ---------- | ------ | ------------------------------------------------------------------------- |
| resourceID | String | ID for the specified resource i.e: `loan-request-id` or `credit-order-id` |

#### Query Parameters

| Name                                            | Type   | Description                                                                                                                  |
| ----------------------------------------------- | ------ | ---------------------------------------------------------------------------------------------------------------------------- |
| product-id<mark style="color:red;">\*</mark>    | String | Product ID of the specified resources                                                                                        |
| resource-name<mark style="color:red;">\*</mark> | String | Resource name `credit-order` , `loan-request`                                                                                |
| vendor<mark style="color:red;">\*</mark>        | String | Vendor to setup debit mandate with `remita`                                                                                  |
| action<mark style="color:red;">\*</mark>        | String | Debit Mandate action to carry out: `validate-otp` , `setup` , `supports-otp` , `get-form-url`, `request-otp` , `get-mandate` |

#### Headers

| Name                                            | Type   | Description           |
| ----------------------------------------------- | ------ | --------------------- |
| Authorization<mark style="color:red;">\*</mark> | String | Bearer `YOUR_API_KEY` |
