---
updatedAt: 2026-03-11T13:54:51.000Z
agentTools:
  projectIndex: https://docs.truelayer.com/llms.txt
---

# Create a payment on a mandate

Learn how to create a payment on a mandate.

After you have [created a payment mandate](https://docs.truelayer.com/truelayer/docs/create-a-payment-mandate), and [your user has authorised it](https://docs.truelayer.com/truelayer/docs/authorise-a-payment-mandate), you can create a payment on the mandate. Once you create the payment, you can track and monitor it in the same way as a non-recurring payment.

As your user has authorised a mandate, the flow for a payment on a mandate differs from a non-recurring payment. After payment creation, there's no authorisation required, so it executes immediately.

## 1. Authenticate a payment on a mandate

To create a payment on a mandate, you must authenticate your request. This ensures only you can create payments on the mandate. Authentication requires you to:

* [Generate an `access_token`](https://docs.truelayer.com/truelayer/docs/generate-a-payments-access-token) with the `payments`scope. It must also have either the `recurring_payments:sweeping` or `recurring_payments:commercial` scope as appropriate.\
  You include the `access_token` as a bearer header with your request.
* Generate public and private keys and [set up request signing](https://docs.truelayer.com/truelayer/docs/sign-your-payments-requests), so you can include a `Tl-Signature` header with your requests.

Your request should also include an [idempotency key](https://docs.truelayer.com/truelayer/docs/add-idempotency-to-your-payments-requests), which you provide as a `Idempotency-Key` header. This ensures that you can safely retry requests without creating duplicate payments.

## 2. Configure a payment on a mandate

To create a payment on a VRP mandate, you must make a POST request to the <a href="https://docs.truelayer.com/reference/create-payment" target="_blank">`/v3/payments` endpoint</a>. For a payment on a mandate, the request must use `mandate` as the value for the `payment_method.type` parameter.

These are the available parameters in a request to create a payment on a mandate:

[block:parameters]
{
  "data": {
    "h-0": "Field",
    "h-1": "Description",
    "0-0": "`amount_in_minor`",
    "0-1": "The amount in minor units.  \n  \nMinor units are the smallest units of a currency, depending on the number of decimals. For example: 1 GBP = 100 pence.",
    "1-0": "`currency`",
    "1-1": "The currency of the payment as an ISO 4217 code. TrueLayer supports GBP and EUR.  \n  \nYou cannot make a payment from GBP currency to a EUR account, specified in the `payment_method.beneficiary.account_identifier` object.",
    "2-0": "`payment_method.type`",
    "2-1": "The payment method for the payment.  \n  \nFor a payment on a mandate, use `mandate`.  \n  \nFor a [single payment](https://docs.truelayer.com/truelayer/docs/payment-basics) , use `bank_transfer` as the `type`.",
    "3-0": "`payment_method.mandate_id`",
    "3-1": "The `id` of the mandate used to authorise the payment.",
    "4-0": "`payment_method.reference`",
    "4-1": "The reference for the payment that displays on the remitter's bank statement.  \n  \nReference to be used on the payment as `EndToEndIdentification`.Read more about [payment references here](https://docs.truelayer.com/truelayer/docs/recurring-payment-references-and-reconciliation).  \n  \n[Some providers have character limits for this field](https://docs.truelayer.com/truelayer/docs/character-limitations-in-payments). We recommend making your reference as short as possible, ideally under 18 characters.",
    "5-0": "`payment_method.retry.type`",
    "5-1": "If you have contacted us to [enable retries](#enable-retries-for-failed-payments), use this parameter to enable `smart` retry on failure by specifying retry type. Values: **`standard`**, **`smart`**",
    "6-0": "`payment_method.retry.for`",
    "6-1": "Specify how long to retry the payment for if it fails. Refer to [the API Reference](https://docs.truelayer.com/truelayer/reference/create-payment) for the details of the format and supported range",
    "7-0": "`retry.ensure_minimum_balance_in_minor`",
    "7-1": "Optionally, specify a remaining balance threshold after taking this payment. (Only applies when `retry.type` is `smart`)",
    "8-0": "`user`",
    "8-1": "The `user` parameter is optional for payments over a mandate, as user information was collected when you created the mandate and the user authorised it.",
    "9-0": "`metadata`",
    "9-1": "An optional field to add custom data to a payment. This is saved on payment creation and returned on every payment retrieve.",
    "10-0": "`related_products`",
    "10-1": "Enables you to enable a related product for a payment. Currently, you can only enable SignUp+ by including an empty `signup_plus` object."
  },
  "cols": 2,
  "rows": 11,
  "align": [
    null,
    null
  ]
}
[/block]

## Payment request and response examples

### Payment on a mandate request example

This is an example of a request to create a payment on a mandate in the sandbox environment.

```json Payment on a mandate request example
POST /v3/payments HTTP/1.1
Content-Type: application/json
Idempotency-Key: {Random UUID}
Tl-Signature: {Signature}
Authorization: Bearer {Access_token}
Host: api.truelayer-sandbox.com
{
		"payment_method": {
				"type": "mandate",
		"mandate_id": "d636337e-89e3-4d29-8ccb-da34f2c2e98c"
		},
		"amount_in_minor": 1,
		"reference": "reference123",
		"currency": "GBP",
    }
}
```

You can [test the authorisation flow your user would see](https://docs.truelayer.com/truelayer/docs/test-vrps-in-sandbox) in a mock bank in the sandbox environment.

### Payment on a mandate response example

If the payment request is successful, you receive a response that contains the following fields:

[block:parameters]
{
  "data": {
    "h-0": "Field",
    "h-1": "Description",
    "0-0": "`id`",
    "0-1": "The ID for the created payment.",
    "1-0": "`user.id`",
    "1-1": "An ID for the remitter.  \n  \nAn ID is generated automatically if you leave the user `id` blank when you create the payment.  \n  \nIf you use the same `id` as a previous payment, both payments will be associated with the ID.  \n  \nYou can use the <a href=\"\" target=\"_blank\">`/v3/mandates` endpoint</a> to return a list of mandates authorised by a given `user.id`.",
    "2-0": "`resource_token`",
    "2-1": "A token that lasts for 15 minutes from payment creation. You be use to view the settlement status of the payment."
  },
  "cols": 2,
  "rows": 3,
  "align": [
    null,
    null
  ]
}
[/block]

This code block contains an example of the response when you create a payment on a mandate.

```json Example mandate creation response
{
  "id": "string",
  "user": {
    "id": "{UUID}"
  },
  "resource_token": "a-secret-token"
}
```

A newly-created payment on a mandate has the status `authorizing` and moves through the [same series of statuses that that a single payment does](https://docs.truelayer.com/truelayer/docs/payment-statuses) .

Unlike a single payment however, VRPs don't need to be authorised by the end user (as long as the mandate has already been authorised). You don't need to do anything else for the payment to move to a terminal status.

You receive a [payment webhook](https://docs.truelayer.com/truelayer/docs/payment-webhooks) that tells you the outcome of the payment.

## \[Optional] Enable retries for failed payments

> 🚧 Retry is an opt-in feature
>
> This feature is optional, and is disabled by default. Contact us if you would like to enable this feature

This optional feature enables you to automatically retry failed payments to improve conversion. To use retries in your payments on a mandate, ensure you contact us to enable it, and then provide information for the following parameters in your payment request:

* `payment_method.retry.type`: The type of retry logic to apply for the payment. Can be `standard` or `smart`, explained below.
* `payment_method.retry.for`: How long to retry the payment for. Has a minimum duration of 30 minutes and a maximum of 6 hours. You should specify this in this format: `30m`, `12h`, `7d`.
* `payment_method.retry.ensure_minimum_balance_in_minor`: Only available for `smart` retries. This checks that the effective balance in the remitter's account will exceed a certain amount after the payment.

### Types of retry

#### Standard Retry

The payment on a mandate is retried if the banking provider is unavailable, or there's an error with the provider.

#### Smart Retry

Most error types are retried, including but not limited to:

* Insufficient funds
* Constraint violation
* Provider error
* General connectivity issues

Optionally, for smart retries, you can specify the `retry.ensure_minimum_balance_in_minor` parameter. This ensures the specified balance remains in the payment account after the transfer is complete.

If you do not want to set a minimum, you can omit this parameter.