---
updatedAt: 2026-06-08T11:05:39.000Z
agentTools:
  projectIndex: https://developer.pay.nl/llms.txt
---

# Mandate:Get

List all mandates on which a direct debit transaction can be executed

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "PAY. Global Management System API's",
    "description": "A restful journey to your payments.",
    "termsOfService": "https://www.pay.nl/en/terms-conditions",
    "contact": {
      "email": "support@pay.nl"
    },
    "version": "v2.0"
  },
  "servers": [
    {
      "url": "https://rest.pay.nl/v2",
      "description": "PAY. API server"
    }
  ],
  "paths": {
    "/directdebits/mandates/{MandateId}": {
      "get": {
        "tags": [
          "Directdebits"
        ],
        "summary": "Mandate:Get",
        "description": "List all mandates on which a direct debit transaction can be executed",
        "parameters": [
          {
            "name": "MandateId",
            "in": "path",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/Mandate/properties/code"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Ok.",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "mandate": {
                      "$ref": "#/components/schemas/Mandate"
                    }
                  },
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "405": {
            "$ref": "#/components/responses/MethodNotAllowed"
          },
          "406": {
            "$ref": "#/components/responses/NotAcceptable"
          },
          "415": {
            "$ref": "#/components/responses/UnsupportedMedia"
          },
          "422": {
            "$ref": "#/components/responses/Unprocessable"
          },
          "429": {
            "$ref": "#/components/responses/RateLimiting"
          },
          "500": {
            "description": "An internal error occurred"
          }
        },
        "security": [
          {
            "basicAuth": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "Amount": {
        "required": [
          "value"
        ],
        "properties": {
          "value": {
            "description": "The amount in cents.",
            "type": "integer",
            "minimum": 1,
            "example": 10
          },
          "currency": {
            "description": "The currency in ISO-4217 format.",
            "type": "string",
            "example": "EUR"
          }
        },
        "type": "object"
      },
      "Customer": {
        "properties": {
          "firstName": {
            "description": "The forename (also known as a given name, Christian name or a first name).",
            "type": "string",
            "maxLength": 64,
            "minLength": 1,
            "example": "John"
          },
          "lastName": {
            "description": "The surname (also known as a family name or a last name).",
            "type": "string",
            "maxLength": 64,
            "minLength": 1,
            "example": "Doe"
          },
          "type": {
            "description": "Either B for business or C for consumer.",
            "type": "string",
            "enum": [
              "B",
              "C"
            ]
          },
          "ip": {
            "description": "An ip address",
            "type": "string",
            "example": "213.126.82.230"
          },
          "birthDate": {
            "description": "Date of birth as defined in ISO-8601.",
            "type": "string",
            "format": "date",
            "example": "1999-02-15"
          },
          "gender": {
            "description": "The subject's gender. Choose either M for male or F for female.",
            "type": "string",
            "example": "M"
          },
          "phone": {
            "description": "The subject's phone number. Optionally prepended with a + and country code",
            "type": "string",
            "example": "0031612345678"
          },
          "email": {
            "description": "An email address.",
            "type": "string",
            "format": "email",
            "example": "sandbox@pay.nl"
          },
          "language": {
            "description": "The language code consisting of 2 uppercase letters. Can be one of the following: EN, NL, DE, FR, ES, IT. You can find all available languages here: https://paynl.readme.io/reference/languages",
            "type": "string",
            "enum": [
              "NL",
              "EN",
              "DE",
              "FR",
              "IT",
              "ES"
            ],
            "example": "NL"
          },
          "trust": {
            "description": "Indicates whether you trust the payer, scale -10 -> 10 (10 Reliable, -10 Unreliable).",
            "type": "integer",
            "maximum": 10,
            "minimum": -10,
            "example": -5
          },
          "reference": {
            "description": "Unique reference of the payer. This field only allows alphanumeric characters.",
            "type": "string",
            "maxLength": 64,
            "minLength": 1,
            "pattern": "^[a-zA-Z0-9]{1,64}$",
            "example": "NL87654321"
          },
          "bankAccount": {
            "$ref": "#/components/schemas/BankAccount"
          },
          "company": {
            "$ref": "#/components/schemas/Company"
          }
        },
        "type": "object"
      },
      "Interval": {
        "properties": {
          "period": {
            "description": "Specify the period frequency. Must be one of: day,week,month,trimester,halfyear,year.",
            "type": "string",
            "enum": [
              "day",
              "week",
              "month",
              "trimester",
              "halfyear",
              "year"
            ]
          },
          "quantity": {
            "description": "Indicated the number of times this order should be executed.",
            "type": "integer",
            "example": 1
          },
          "value": {
            "description": "Specify the frequency for a period. For example, a weekly period, but only every second week.",
            "type": "integer",
            "example": 1
          }
        },
        "type": "object"
      },
      "Mandate": {
        "properties": {
          "code": {
            "description": "The unique identifier of the mandate.",
            "type": "string",
            "example": "IO-####-####-####"
          },
          "serviceId": {
            "$ref": "#/components/schemas/Service/properties/id"
          },
          "reference": {
            "description": "The reference that will be added to the related transactions.",
            "type": "string",
            "example": "AX12345-TRA-6789",
            "nullable": true
          },
          "description": {
            "description": "The description of the mandate.",
            "type": "string"
          },
          "processDate": {
            "description": "The date at which this entity will be processed",
            "type": "string",
            "format": "date-time",
            "example": "1999-02-15",
            "nullable": true
          },
          "exchangeUrl": {
            "description": "The exchange URL which will be called when the direct debit is executed.",
            "type": "string",
            "format": "uri",
            "nullable": true
          },
          "type": {
            "description": "The type of mandate. One of: SINGLE, RECURRING, FLEXIBLE.",
            "type": "string",
            "example": "RECURRING"
          },
          "interval": {
            "$ref": "#/components/schemas/Interval"
          },
          "amount": {
            "$ref": "#/components/schemas/Amount"
          },
          "customer": {
            "properties": {
              "email": {
                "$ref": "#/components/schemas/Customer/properties/email"
              },
              "ipAddress": {
                "$ref": "#/components/schemas/Customer/properties/ip"
              },
              "bankAccount": {
                "required": [
                  "iban",
                  "owner"
                ],
                "properties": {
                  "iban": {
                    "description": "The International Bank Account Number (IBAN).",
                    "type": "string",
                    "example": "NL69INGB0123456789"
                  },
                  "bic": {
                    "description": "Business Identifier Codes (BIC/SWIFT).",
                    "type": "string",
                    "example": "INGBNL2A"
                  },
                  "owner": {
                    "description": "The owner of the bank account.",
                    "type": "string",
                    "maxLength": 64,
                    "minLength": 1,
                    "example": "John Doe"
                  }
                },
                "type": "object"
              }
            },
            "type": "object"
          },
          "statistics": {
            "$ref": "#/components/schemas/Stats"
          },
          "service": {
            "description": "string>",
            "properties": {
              "code": {
                "$ref": "#/components/schemas/Service/properties/id"
              },
              "name": {
                "$ref": "#/components/schemas/Service/properties/name"
              }
            },
            "type": "object"
          },
          "merchant": {
            "$ref": "#/components/schemas/MerchantMinimal"
          },
          "stats": {
            "$ref": "#/components/schemas/Stats"
          },
          "lastDirectDebitDate": {
            "description": "The date at which the last direct debit was executed.",
            "type": "string",
            "format": "date-time",
            "example": "2019-01-01T12:00:00+02:00",
            "nullable": true
          },
          "nextDirectDebitDate": {
            "description": "The date at which the direct debit is scheduled to be executed.",
            "type": "string",
            "format": "date-time",
            "example": "2019-01-01T12:00:00+02:00",
            "nullable": true
          },
          "actualDirectDebitDate": {
            "description": "The date at which the direct debit will be executed.",
            "type": "string",
            "format": "date-time",
            "example": "2019-01-01T12:00:00+02:00",
            "nullable": true
          },
          "createdAt": {
            "$ref": "#/components/schemas/Universal/properties/createdAt"
          },
          "createdBy": {
            "$ref": "#/components/schemas/Universal/properties/createdBy"
          },
          "modifiedAt": {
            "$ref": "#/components/schemas/Universal/properties/modifiedAt"
          },
          "modifiedBy": {
            "$ref": "#/components/schemas/Universal/properties/modifiedBy"
          },
          "deletedAt": {
            "$ref": "#/components/schemas/Universal/properties/deletedAt"
          },
          "deletedBy": {
            "$ref": "#/components/schemas/Universal/properties/deletedBy"
          }
        },
        "type": "object"
      },
      "MerchantMinimal": {
        "required": [
          "code",
          "name",
          "status"
        ],
        "properties": {
          "code": {
            "description": "The merchant id of your company starting with M.",
            "type": "string",
            "example": "M-1234-4321"
          },
          "name": {
            "description": "The name of your merchant.",
            "type": "string",
            "maxLength": 128,
            "minLength": 2,
            "example": "CompanyName"
          },
          "status": {
            "description": "Merchant state",
            "type": "string",
            "example": "ACTIVE"
          },
          "incorporationCountry": {
            "description": "The incorporationCountry field represents the country in which the entity is legally registered or incorporated.",
            "type": "string",
            "example": "NL"
          }
        },
        "type": "object"
      },
      "Service": {
        "properties": {
          "id": {
            "description": "The ID of your service. You can find the service ID in the portal.",
            "type": "string",
            "example": "SL-####-####"
          },
          "name": {
            "description": "The name of your service.",
            "type": "string",
            "example": "My first service!"
          },
          "description": {
            "description": "The description of the service.",
            "type": "string"
          },
          "testMode": {
            "description": "Indicates if the service is in testmode or not, possible values: false or true",
            "type": "integer"
          },
          "secret": {
            "description": "The unique reference for this service.",
            "type": "string",
            "example": "bade123abf124124abefa311b"
          },
          "createdAt": {
            "$ref": "#/components/schemas/Universal/properties/createdAt"
          }
        },
        "type": "object"
      },
      "Stats": {
        "properties": {
          "info": {
            "description": "The used info code which can be tracked in the stats.",
            "type": "string",
            "maxLength": 64,
            "minLength": 1,
            "example": "Campagne 99"
          },
          "tool": {
            "description": "The used tool code which can be tracked in the stats.",
            "type": "string",
            "maxLength": 64,
            "minLength": 1,
            "example": "Google"
          },
          "object": {
            "description": "The object which can be tracked in stats.",
            "type": "string",
            "maxLength": 64,
            "minLength": 1
          },
          "extra1": {
            "description": "The first free value which can be tracked in the stats.",
            "type": "string",
            "maxLength": 64,
            "minLength": 1,
            "example": "Customer 6985615"
          },
          "extra2": {
            "description": "The second free value which can be tracked in the stats.",
            "type": "string",
            "maxLength": 64,
            "minLength": 1,
            "example": "Invoice 21.3695"
          },
          "extra3": {
            "description": "The third free value which can be tracked in the stats.",
            "type": "string",
            "maxLength": 64,
            "minLength": 1,
            "example": "Shop Amsterdam"
          },
          "domainId": {
            "description": "The ID of the duplicate content URL",
            "type": "string",
            "example": "WU-####-####"
          }
        },
        "type": "object"
      },
      "Universal": {
        "properties": {
          "translations": {
            "description": "Object containing all the translations with the property name in which the corresponds with a property on the object itself.",
            "type": "object",
            "uniqueItems": true,
            "example": "\n    \"translations\": {\n      \"name\": {\n        ...\n      },\n      \"description\": {\n        ...\n      }\n    }\n",
            "nullable": true,
            "additionalProperties": {
              "type": "object",
              "additionalProperties": {
                "type": "string"
              }
            }
          },
          "requiredFields": {
            "description": "The required fields of the payment method.",
            "type": "array",
            "items": {
              "properties": {
                "fieldName": {
                  "type": "string"
                },
                "mandatory": {
                  "type": "string"
                }
              },
              "type": "object"
            }
          },
          "createdAt": {
            "description": "The creation date time presented in the correct ISO-8601 (a.k.a. ATOM) notation",
            "type": "string",
            "format": "date-time",
            "readOnly": true,
            "example": "2016-06-04T08:15:00+01:00",
            "nullable": false
          },
          "createdBy": {
            "description": "The reference to an account or token whom created the entity",
            "type": "string",
            "pattern": "^A(T)?(-\\d{4}){2}$",
            "readOnly": true,
            "example": "A-1234-4321",
            "nullable": false
          },
          "modifiedAt": {
            "description": "The modification date time presented in the correct ISO-8601 (a.k.a. ATOM) notation",
            "type": "string",
            "format": "date-time",
            "readOnly": true,
            "example": "2016-06-04T08:15:00+01:00",
            "nullable": true
          },
          "modifiedBy": {
            "description": "The reference to an account or token whom modified the entity",
            "type": "string",
            "pattern": "^A(T)?(-\\d{4}){2}$",
            "readOnly": true,
            "example": "A-1234-4321",
            "nullable": true
          },
          "deletedAt": {
            "description": "The deletion date time presented in the correct ISO-8601 (a.k.a. ATOM) notation. Can be empty (null)",
            "type": "string",
            "format": "date-time",
            "readOnly": true,
            "example": "2016-06-04T08:15:00+01:00",
            "nullable": true
          },
          "deletedBy": {
            "description": "The reference to an account or token whom deleted the entity",
            "type": "string",
            "pattern": "^A(T)?(-\\d{4}){2}$",
            "readOnly": true,
            "example": "A-1234-4321",
            "nullable": true
          }
        },
        "type": "object"
      },
      "Error": {
        "properties": {
          "type": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "detail": {
            "type": "string"
          },
          "violations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Violation"
            }
          }
        },
        "type": "object"
      },
      "Violation": {
        "properties": {
          "propertyPath": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "code": {
            "type": "string"
          }
        },
        "type": "object"
      }
    },
    "responses": {
      "BadRequest": {
        "description": "Bad request, see response body for more information",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      },
      "Unauthorized": {
        "description": "Unauthorized. Supplied credentials are invalid"
      },
      "Forbidden": {
        "description": "Forbidden. Supplied credentials have no rights"
      },
      "NotFound": {
        "description": "Not found"
      },
      "MethodNotAllowed": {
        "description": "Used HTTP method is not allowed"
      },
      "NotAcceptable": {
        "description": "Not acceptable. The supplied content type in the accept parameter in the header is not supported"
      },
      "UnsupportedMedia": {
        "description": "Unsupported media. The supplied content type in the content-type parameter in the header is not supported"
      },
      "Unprocessable": {
        "description": "Unprocessable entity, see response body for more information",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            },
            "examples": {
              "error": {
                "summary": "Unprocessable",
                "value": {
                  "type": "https://developer.pay.nl/docs/error-codes",
                  "title": "An error occurred",
                  "detail": "Unable to complete request",
                  "violations": [
                    {
                      "propertyPath": null,
                      "message": "Unable to complete request",
                      "code": "PAY-3000"
                    }
                  ]
                }
              }
            }
          }
        }
      },
      "RateLimiting": {
        "description": "Rate limit reached."
      }
    },
    "securitySchemes": {
      "basicAuth": {
        "type": "http",
        "scheme": "basic"
      }
    }
  },
  "tags": [
    {
      "name": "Directdebits",
      "description": ""
    }
  ],
  "externalDocs": {
    "description": "Official PAY. documentation",
    "url": "https://docs.pay.nl"
  }
}
```