Get SEPA Mandate History
GET/mandates/:mandateId/history
This endpoint returns all mandates in scope of the calling integrator.
When a mandate is updated via Update Mandate API, a new version is automatically generated to reflect the latest changes. All historical versions are retained for reference, and can be retrieved through this endpoint to ensure traceability and audit consistency.
Request
Path Parameters
Query Parameters
Possible values: <= 4 characters, Value must match regular expression ^[0-9]{4}, >= 4
Returns specific version of Mandate.
0001First mandate after MandateId provided will be returned. Used for pagination.
md_7c1c304e-72bf-2b57-2570-148879f6da20Possible values: >= 1 and <= 100
For pagination, total number of results to return
25Responses
- 200
- 400
- 401
- 403
- 404
- 500
Successful response
- application/json
- Schema
- Example (auto)
- SEPA B2B
- SEPA Core
Schema
- Array [
- ]
data object[]
Collection of mandates created for this integrator.
referenceInstructions objectrequired
Optional object containing configuration for automatic mandate reference generation, such as a prefix.
Possible values: <= 14 characters
debtorAddress object
Details on debtor's address.
Street name.
Possible values: <= 60 characters
Max-Planck-StraßeApartment, suite, unit, building, floor or other secondary address information.
Possible values: <= 60 characters
Specific delivery instructions, department names, or additional floor information.
Possible values: <= 60 characters
The city or localitly of the address.
Possible values: <= 50 characters
BerlinISO-3 code of the address country (e.g., DEU for Germany).
Possible values: >= 3 characters and <= 3 characters
DEUThe house or building number corresponding to the street address.
Possible values: <= 10 characters
30The postal or ZIP code of the address.
Possible values: <= 10 characters
144733-letter code of the address state. Mandatory when countryCode corresponds to Canada or USA.
Possible values: <= 3 characters
debtorBank object
Details on debtor's bank.
Possible values: <= 70 characters
Possible values: <= 11 characters
Possible values: <= 34 characters
Full name of the debtor authorizing the SEPA mandate.
Possible values: <= 70 characters
Unique identifier of the SEPA mandate.
Possible values: <= 39 characters
System-defined object type (e.g., mandate).
Current status of the SEPA mandate. Example: active, cancelled.
Date and time of mandate creation.
acceptance object
Object referring to the mandate acceptance details.
Timestamp of mandate acceptance creation.
Unique identifier of the acceptance object.
Possible values: <= 39 characters
Type of mandate acceptance provided by the customer.
Date when the mandate was signed by the debtor.
Location where the mandate was signed.
Possible values: <= 14 characters
Technical object name for acceptance.
Reference to the stored payment option for this mandate.
Possible values: <= 70 characters
account object
Object of the account.
billingAddress object
Consumer's billing address data. See Address in Data model.
Street name.
Possible values: <= 60 characters
Max-Planck-StraßeApartment, suite, unit, building, floor or other secondary address information.
Possible values: <= 60 characters
Specific delivery instructions, department names, or additional floor information.
Possible values: <= 60 characters
The city or localitly of the address.
Possible values: <= 50 characters
BerlinISO-3 code of the address country (e.g., DEU for Germany).
Possible values: >= 3 characters and <= 3 characters
DEUThe house or building number corresponding to the street address.
Possible values: <= 10 characters
30The postal or ZIP code of the address.
Possible values: <= 10 characters
144733-letter code of the address state. Mandatory when countryCode corresponds to Canada or USA.
Possible values: <= 3 characters
businessConsumer objectnullable
Company data, in case the consumer is a business or a legal entity. See businessConsumer in Data model.
Conditional. Can be present if consumer is missing from the request.
Name of the legal entity
Possible values: <= 100 characters
Company registration country ISO2 or ISO3 code
Possible values: >= 2 characters and <= 3 characters
Company registration number
Possible values: <= 50 characters
Possible values: <= 100 characters
Consists of ISO 639-1 language code and ISO 3166-1 alpha-2 country code separated by dash. If this value is not provided the browser culture is used. Default culture is English (e.g., en-de). This field is not case sensitive.
Possible values: <= 5 characters
en-ENCustomer email address for any notification
Possible values: <= 255 characters
Person's tax identification number
Possible values: <= 30 characters
consumer objectnullable
Consumer's personal data, in case the consumer is a physical person. See consumer in Data model.
Conditional. Can be present if businessConsumer is missing from the request.
Consists of ISO 639-1 language code and ISO 3166-1 alpha-2 country code separated by dash. If this value is not provided the browser culture is used. Default culture is English (e.g., en-de). This field is not case sensitive.
Possible values: <= 5 characters
en-ENDate of birth. Format - YYYY-MM-DD. Mandatory for payment option registration flow. Minimum date allowed is 1900-01-01
Possible values: <= 10 characters, Value must match regular expression ^\d{4}-\d{2}-\d{2}$
1989-11-08Customer email address for any notification
Possible values: <= 255 characters
john.doe@gmail.comPerson first name
Possible values: <= 60 characters
JohnPerson gender
Possible values: <= 6 characters
MrPerson's home phone number (including the country code)
Possible values: <= 30 characters
496912345678Person last name
Possible values: <= 60 characters
DoeConsumer/Customer Account Id in the merchant system. When provided into the Create Checkout API, SmartPay will request e-wallet account creation which will have external account reference equals to the given merchantCustomerId value.
Possible values: <= 255 characters
abcd123The customer's middle name
Possible values: <= 60 characters
RobertPerson's mobile phone number (including the country code)
Possible values: <= 30 characters
496912345678Person's tax identification number
Possible values: <= 30 characters
123456789Person title
Possible values: <= 3 characters
MrPerson's work phone number (including the country code)
Possible values: <= 30 characters
496912345678Possible values: <= 125 characters
Possible values: <= 39 characters
Mandate reference identifier assigned by the merchant or the system.
Possible values: <= 35 characters
Type of SEPA mandate scheme.
Possible values: [SEPA_CORE, SEPA_B2B]
Current status of the SEPA mandate.
creditorAddress object
Details on the creditor's address.
Street name.
Possible values: <= 60 characters
Max-Planck-StraßeApartment, suite, unit, building, floor or other secondary address information.
Possible values: <= 60 characters
Specific delivery instructions, department names, or additional floor information.
Possible values: <= 60 characters
The city or localitly of the address.
Possible values: <= 50 characters
BerlinISO-3 code of the address country (e.g., DEU for Germany).
Possible values: >= 3 characters and <= 3 characters
DEUThe house or building number corresponding to the street address.
Possible values: <= 10 characters
30The postal or ZIP code of the address.
Possible values: <= 10 characters
144733-letter code of the address state. Mandatory when countryCode corresponds to Canada or USA.
Possible values: <= 3 characters
Unique SEPA Creditor Identifier used to identify the merchant in SEPA transactions.
Possible values: <= 35 characters
Legal name of the SEPA Creditor initiating the mandate and collecting funds.
Possible values: <= 70 characters
activation objectnullable
City or place of mandate signature.
Possible values: <= 255 characters
Date when mandate was signed.
Method of mandate acceptance.
Possible values: [ONLINE, OFFLINE]
meta object
True if there are more items, then returned.
{
"data": [
{
"referenceInstructions": {
"mandatePrefix": "string"
},
"debtorAddress": {
"addressLine1": "Max-Planck-Straße",
"addressLine2": "string",
"addressLine3": "string",
"city": "Berlin",
"countryCode": "DEU",
"number": 30,
"postCode": 14473,
"state": "string"
},
"debtorBank": {
"bankName": "string",
"bic": "string",
"iban": "string"
},
"debtorName": "string",
"id": "string",
"object": "string",
"status": "string",
"createdAt": "2024-07-29T15:51:28.071Z",
"acceptance": {
"createdAt": "2024-07-29T15:51:28.071Z",
"id": "string",
"mandateAcceptance": "string",
"mandateDateOfSignature": "2024-07-29",
"mandateSignedLocation": "string",
"object": "string",
"storedPaymentOptionReference": "string"
},
"account": {
"billingAddress": {
"addressLine1": "Max-Planck-Straße",
"addressLine2": "string",
"addressLine3": "string",
"city": "Berlin",
"countryCode": "DEU",
"number": 30,
"postCode": 14473,
"state": "string"
},
"businessConsumer": {
"companyName": "string",
"companyRegistrationCountryCode": "string",
"companyRegistrationNumber": "string",
"companyType": "string",
"culture": "en-EN",
"emailAddress": "string",
"taxId": "string"
},
"consumer": {
"culture": "en-EN",
"dateOfBirth": "1989-11-08",
"emailAddress": "john.doe@gmail.com",
"firstName": "John",
"gender": "Mr",
"homePhone": 496912345678,
"lastName": "Doe",
"merchantCustomerId": "abcd123",
"middleName": "Robert",
"mobilePhone": 496912345678,
"taxId": 123456789,
"timezone": "CET",
"title": "Mr",
"workPhone": 496912345678
},
"createdAt": "2024-07-29T15:51:28.071Z",
"customerAccountId": "string",
"id": "string",
"isBusinessUser": true,
"object": "string"
},
"mandateReference": "string",
"mandateScheme": "SEPA_CORE",
"mandateStatus": "string",
"creditorAddress": {
"addressLine1": "Max-Planck-Straße",
"addressLine2": "string",
"addressLine3": "string",
"city": "Berlin",
"countryCode": "DEU",
"number": 30,
"postCode": 14473,
"state": "string"
},
"creditorIdentifier": "string",
"creditorName": "string",
"activation": {
"mandateSignedLocation": "string",
"mandateDateOfSignature": "2024-07-29",
"mandateAcceptance": "ONLINE"
}
}
],
"meta": {
"hasMore": true
}
}
{
"meta": {
"hasMore": false
},
"data": [
{
"id": "md_7c1c304e-72bf-2b57-2570-148879f6da20",
"object": "MANDATE",
"createdAt": "2023-03-02T14:25:59.078Z",
"versionTag": "0002",
"versionCreatedAt": "2023-05-02T09:00:00.178Z",
"mandateScheme": "SEPA_B2B",
"mandateReference": "SEPA-20230906-ABC123",
"status": "ACTIVE",
"referenceInstructions": {
"generatedReference": true,
"mandatePrefix": "SEPA-20230906"
},
"debtorName": "John Doe",
"debtorAddress": {
"city": "Berlin",
"countryCode": "DE",
"number": "123",
"addressLine1": "Main Street",
"postCode": "12345"
},
"debtorBank": {
"iban": "DE89370400440532013000",
"bankName": "Example Bank",
"bic": "EXBKDE81XXX"
},
"creditorName": "DEF Shop",
"creditorIdentifier": "DE98ZZZ09999999999",
"creditorAddress": {
"city": "Munich",
"countryCode": "DE",
"number": "456",
"addressLine1": "Leopoldstr.",
"postCode": "80807"
},
"acceptance": {
"id": "xd_3cd96632-5b23-5444-f3da-18bbc619ba52",
"object": "MANDATE_ACTIVATION",
"createdAt": "2023-03-02T14:25:59.078Z",
"mandateSignedLocation": "Berlin",
"mandateDateOfSignature": "2023-09-06",
"mandateAcceptance": "ONLINE",
"storedPaymentOptionReference": "8ac7a4a266c593040166d4b7d08e2201"
},
"account": {
"id": "bz_f654a38c-9a51-fe39-a58e-16a5732e2f0e",
"object": "CREDENTIAL_VAULT",
"createdAt": "2023-03-02T14:25:59.078Z",
"customerAccountId": "CUST-12345",
"billingAddress": {
"city": "Berlin",
"countryCode": "DE",
"number": "123",
"addressLine1": "Main Street",
"postCode": "12345"
},
"isBusinessUser": true,
"businessConsumer": {
"companyName": "ABC Corporation",
"companyType": "Limited Liability Company",
"emailAddress": "contact@abccorp.com",
"taxId": "DE987654321",
"culture": "en_US"
}
},
"additionalData": [
{
"name": "jpmcoid",
"value": "12345"
}
]
},
{
"id": "md_7c1c304e-72bf-2b57-2570-148879f6da20",
"object": "MANDATE",
"createdAt": "2023-03-02T14:25:59.078Z",
"versionTag": "0001",
"versionCreatedAt": "2023-03-02T14:25:59.078Z",
"mandateScheme": "SEPA_B2B",
"mandateReference": "SEPA-20230906-ABC123",
"status": "ACTIVE",
"referenceInstructions": {
"generatedReference": true,
"mandatePrefix": "SEPA-20230906"
},
"debtorName": "John Doe",
"debtorAddress": {
"city": "Berlin",
"countryCode": "DE",
"number": "123",
"addressLine1": "Main Street",
"postCode": "12345"
},
"debtorBank": {
"iban": "DE89370400440532013000",
"bankName": "Example Bank",
"bic": "EXBKDE81XXX"
},
"creditorName": "ABC Corporation",
"creditorIdentifier": "DE98ZZZ09999999999",
"creditorAddress": {
"city": "Munich",
"countryCode": "DE",
"number": "456",
"addressLine1": "Leopoldstr.",
"postCode": "80807"
},
"acceptance": {
"id": "xd_3cd96632-5b23-5444-f3da-18bbc619ba52",
"object": "MANDATE_ACTIVATION",
"createdAt": "2023-03-02T14:25:59.078Z",
"mandateSignedLocation": "Berlin",
"mandateDateOfSignature": "2023-09-06",
"mandateAcceptance": "ONLINE",
"storedPaymentOptionReference": "8ac7a4a266c593040166d4b7d08e2201"
},
"account": {
"id": "bz_f654a38c-9a51-fe39-a58e-16a5732e2f0e",
"object": "CREDENTIAL_VAULT",
"createdAt": "2023-03-02T14:25:59.078Z",
"customerAccountId": "CUST-12345",
"billingAddress": {
"city": "Berlin",
"countryCode": "DE",
"number": "123",
"addressLine1": "Main Street",
"postCode": "12345"
},
"isBusinessUser": true,
"businessConsumer": {
"companyName": "ABC Corporation",
"companyType": "Limited Liability Company",
"emailAddress": "contact@abccorp.com",
"taxId": "DE987654321",
"culture": "en_US"
}
},
"additionalData": [
{
"name": "jpmcoid",
"value": "12345"
}
]
}
]
}
{
"meta": {
"hasMore": false
},
"data": [
{
"debtorAddress": {
"city": "Berlin",
"countryCode": "DE",
"number": "123",
"addressLine1": "Main Street",
"postCode": "12345"
},
"object": "MANDATE",
"status": "CREATED",
"createdAt": "2023-03-02T14:25:59.078Z",
"versionTag": "0001",
"versionCreatedAt": "2023-05-02T09:00:00.178Z",
"mandateScheme": "SEPA_CORE",
"customerAccountId": "CUST-5AR-00002",
"referenceInstructions": {
"generatedReference": true,
"mandatePrefix": "SEPA-20230906"
},
"debtorName": "John Doe",
"debtorBank": {
"iban": "DE89370400440532013000",
"bankName": "Example Bank",
"bic": "EXBKDE81XXX"
},
"creditorName": "ABC Corporation",
"creditorIdentifier": "DE123456789",
"creditorAddress": {
"city": "Munich",
"countryCode": "DE",
"number": "456",
"addressLine1": "Leopoldstr.",
"postCode": "80807"
},
"acceptance": {
"id": "xd_3cd96632-5b23-5444-f3da-18bbc619ba52",
"object": "MANDATE_ACTIVATION",
"createdAt": "2023-03-02T14:25:59.078Z",
"mandateSignedLocation": "Berlin",
"mandateDateOfSignature": "2023-09-06",
"mandateAcceptance": "ONLINE",
"storedPaymentOptionReference": "8ac7a4a266c593040166d4b7d08e2201"
},
"account": {
"id": "CUST-5AR-00002",
"object": "CREDENTIAL_VAULT",
"createdAt": "2023-03-02T14:25:59.078Z",
"customerAccountId": "CUST-12345",
"billingAddress": {
"city": "Berlin",
"countryCode": "DE",
"number": "123",
"addressLine1": "Main Street",
"postCode": "12345"
},
"isBusinessUser": false,
"consumer": {
"companyName": "ABC Corporation",
"companyType": "Limited Liability Company",
"emailAddress": "contact@abccorp.com",
"taxId": "DE987654321",
"culture": "en_US"
}
},
"additionalData": [
{
"name": "jpmcoid",
"value": "12345"
}
],
"historyId": "af585453-f155-43cf-94c7-d3b9aeaa1d4c",
"mandateReference": "CP-PVJNBAFK7TLSHUS7C5N38EP7RD567EPQ",
"id": "af585453-f155-43cf-94c7-d3b9aeaa1d4c"
}
]
}
Bad Request
For error handling, please refer to this section.
- application/json
- Schema
- Example (auto)
- Example
Schema
- string
- string[]
errorDetails object
message object
{
"error": "string",
"errorDetails": {
"context": {},
"gatewayDescription": "string",
"paymentProviderDescription": "string"
},
"message": "string"
}
{
"traceId": "00-1234567890abcdef0123456789abcdef-0123456789abcdef-00",
"errors": [
{
"message": "Value out of bounds. Value must be between 1 and 100",
"code": "value_out_of_bounds",
"property": "someField",
"context": {
"minimum": 1,
"maximum": 100
}
}
]
}
Unauthenticated
For error handling, please refer to this section.
- application/json
- Schema
- Example (auto)
- Example
Schema
- string
- string[]
errorDetails object
message object
{
"error": "string",
"errorDetails": {
"context": {},
"gatewayDescription": "string",
"paymentProviderDescription": "string"
},
"message": "string"
}
{
"traceId": "00-1234567890abcdef0123456789abcdef-0123456789abcdef-00",
"errors": [
{
"message": "You are not authenticated to perform this request.",
"code": "unauthorized"
}
]
}
Forbidden
For error handling, please refer to this section.
- application/json
- Schema
- Example (auto)
- Example
Schema
- string
- string[]
errorDetails object
message object
{
"error": "string",
"errorDetails": {
"context": {},
"gatewayDescription": "string",
"paymentProviderDescription": "string"
},
"message": "string"
}
{
"traceId": "00-1234567890abcdef0123456789abcdef-0123456789abcdef-00",
"errors": [
{
"message": "You do not have permissions to perform this request.",
"code": "forbidden"
}
]
}
Not Found
For error handling, please refer to this section.
- application/json
- Schema
- Example (auto)
- Example
Schema
- string
- string[]
errorDetails object
message object
{
"error": "string",
"errorDetails": {
"context": {},
"gatewayDescription": "string",
"paymentProviderDescription": "string"
},
"message": "string"
}
{
"traceId": "00-1234567890abcdef0123456789abcdef-0123456789abcdef-00",
"errors": [
{
"message": "Resource not found.",
"code": "not_found"
}
]
}
Internal Server Error
For error handling, please refer to this section.
- application/json
- Schema
- Example (auto)
- Example
Schema
- string
- string[]
errorDetails object
message object
{
"error": "string",
"errorDetails": {
"context": {},
"gatewayDescription": "string",
"paymentProviderDescription": "string"
},
"message": "string"
}
{
"traceId": "00-1234567890abcdef0123456789abcdef-0123456789abcdef-00",
"errors": [
{
"message": "Internal server error."
}
]
}