---
title: "Create a Direct Debit Mandate"
method: POST
path: "/v1/direct-debits"
tags: ["Direct Debits"]
---

# Create a Direct Debit Mandate

`POST /v1/direct-debits`

Creates a new direct debit mandate for a customer.

## Headers

- `accountId` string, required

## Request body

- CreateMandateRequest
  - `customerAccountNumber` string, required
  - `bankCode` string, required
  - `customerName` string, required
  - `customerAddress` string
  - `customerAccountName` string, required
  - `amount` number, double, required
  - `frequency` 'VARIABLE' | 'WEEKLY' | 'EVERY_TWO_WEEKS' | 'MONTHLY' | 'EVERY_TWO_MONTHS' | 'EVERY_THREE_MONTHS' | 'EVERY_FOUR_MONTHS' | 'EVERY_FIVE_MONTHS' | 'EVERY_SIX_MONTHS' | 'EVERY_SEVEN_MONTHS' | 'EVERY_EIGHT_MONTHS' | 'EVERY_NINE_MONTHS' | 'EVERY_TEN_MONTHS' | 'EVERY_ELEVEN_MONTHS' | 'EVERY_TWELVE_MONTHS', required
  - `narration` string
  - `customerPhoneNumber` string
  - `merchantReference` string, required — A NUMERIC string (0-9) used to track a transaction. It must be unique per transaction.
  - `startDate` string, date-time, required
  - `endDate` string, date-time, required
  - `customerEmail` string, required
  - `startImmediately` boolean

## Response `200`

Mandate created successfully

- CreateMandateResponse
  - `responseMessage` string, required
  - `responseCode` string, required
  - `data` object, required
    - `mandateId` string, required
    - `merchantReference` string, required
    - `phoneNumber` string, required
    - `description` string, required

## Other responses

- `400` — The request body sent by merchant did not pass the validation checks
- `401` — The access_token provided to access the resource is missing or invalid.
- `403` — The client does not have the permissions to access this resource
- `404` — The record that the client is trying to access does not exist.
- `429` — The client has maxed out the number of calls within a time period on this resource.
- `500` — Downstream system error.
- `default` — Resource not available

---

[API](https://skmtc.net/nomba/apis/vendor-api.md) · [All operations](https://skmtc.net/nomba/apis/vendor-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/nomba/vendor-api/versions/41727ac9be5f/schema)
