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.
First mandate after MandateId provided will be returned. Used for pagination.
Possible values: >= 1
and <= 100
Default value: 25
For pagination, total number of results to return
Responses
- 200
- 400
- 401
- 403
- 404
- 500
Successful response
- application/json
- Schema
- Example (from schema)
- SEPA B2B
- SEPA Core
Schema
Array [
]
data
object[]
Collection of mandates created for this integrator.
referenceInstructions
object
required
Optional object containing configuration for automatic mandate reference generation, such as a prefix.
Possible values: <= 14 characters
debtorAddress
object
Details on debtor's address.
Possible values: <= 60 characters
Street name.
Possible values: <= 60 characters
Apartment, suite, unit, building, floor or other secondary address information.
Possible values: <= 60 characters
Specific delivery instructions, department names, or additional floor information.
Possible values: <= 50 characters
The city or localitly of the address.
Possible values: >= 3 characters
and <= 3 characters
ISO-3 code of the address country (e.g., DEU for Germany).
Possible values: <= 10 characters
The house or building number corresponding to the street address.
Possible values: <= 10 characters
The postal or ZIP code of the address.
Possible values: <= 3 characters
3-letter code of the address state. Mandatory when countryCode
corresponds to Canada or USA.
debtorBank
object
Details on debtor's bank.
Possible values: <= 70 characters
Possible values: <= 11 characters
Possible values: <= 34 characters
Possible values: <= 70 characters
Full name of the debtor authorizing the SEPA mandate.
Possible values: <= 39 characters
Unique identifier of the SEPA mandate.
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.
Possible values: <= 39 characters
Unique identifier of the acceptance object.
Type of mandate acceptance provided by the customer.
Date when the mandate was signed by the debtor.
Possible values: <= 14 characters
Location where the mandate was signed.
Technical object name for acceptance.
Possible values: <= 70 characters
Reference to the stored payment option for this mandate.
account
object
Object of the account.
billingAddress
object
Consumer's billing address data. See Address
in Data model.
Possible values: <= 60 characters
Street name.
Possible values: <= 60 characters
Apartment, suite, unit, building, floor or other secondary address information.
Possible values: <= 60 characters
Specific delivery instructions, department names, or additional floor information.
Possible values: <= 50 characters
The city or localitly of the address.
Possible values: >= 3 characters
and <= 3 characters
ISO-3 code of the address country (e.g., DEU for Germany).
Possible values: <= 10 characters
The house or building number corresponding to the street address.
Possible values: <= 10 characters
The postal or ZIP code of the address.
Possible values: <= 3 characters
3-letter code of the address state. Mandatory when countryCode
corresponds to Canada or USA.
businessConsumer
object
Company data, in case the consumer
is a business or a legal entity.
Mandatory, unless consumer
is provided.
consumer
and businessConsumer
objects may not be submitted together.
Possible values: <= 100 characters
Name of the legal entity
Possible values: >= 2 characters
and <= 3 characters
Company registration country ISO2 or ISO3 code
Possible values: <= 50 characters
Company registration number
Possible values: <= 100 characters
Possible values: <= 5 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: <= 255 characters
Customer email address for any notification
Possible values: <= 30 characters
Person's tax identification number
consumer
object
Consumer's personal data, in case the consumer
is a physical person.
Mandatory, unless businessConsumer
is provided.
consumer
and businessConsumer
objects may not be submitted together.
Possible values: <= 5 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: <= 10 characters
, Value must match regular expression ^\d{4}-\d{2}-\d{2}$
Date of birth. Format - YYYY-MM-DD. Mandatory for payment option registration flow. Minimum date allowed is 1900-01-01
Possible values: <= 255 characters
Customer email address for any notification
Possible values: <= 60 characters
Person first name
Possible values: <= 6 characters
Person gender
Possible values: <= 30 characters
Person's home phone number (including the country code)
Possible values: <= 60 characters
Person last name
Possible values: <= 255 characters
Consumer/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: <= 60 characters
The customer's middle name
Possible values: <= 30 characters
Person's mobile phone number (including the country code)
Possible values: <= 30 characters
Person's tax identification number
Possible values: <= 3 characters
Person title
Possible values: <= 30 characters
Person's work phone number (including the country code)
Possible values: <= 125 characters
Possible values: <= 39 characters
Possible values: <= 35 characters
Mandate reference identifier assigned by the merchant or the system.
Possible values: [SEPA_CORE
, SEPA_B2B
]
Type of SEPA mandate scheme.
Current status of the SEPA mandate.
creditorAddress
object
Details on the creditor's address.
Possible values: <= 60 characters
Street name.
Possible values: <= 60 characters
Apartment, suite, unit, building, floor or other secondary address information.
Possible values: <= 60 characters
Specific delivery instructions, department names, or additional floor information.
Possible values: <= 50 characters
The city or localitly of the address.
Possible values: >= 3 characters
and <= 3 characters
ISO-3 code of the address country (e.g., DEU for Germany).
Possible values: <= 10 characters
The house or building number corresponding to the street address.
Possible values: <= 10 characters
The postal or ZIP code of the address.
Possible values: <= 3 characters
3-letter code of the address state. Mandatory when countryCode
corresponds to Canada or USA.
Possible values: <= 35 characters
Unique SEPA Creditor Identifier used to identify the merchant in SEPA transactions.
Possible values: <= 70 characters
Legal name of the SEPA Creditor initiating the mandate and collecting funds.
activation
object
nullable
Possible values: <= 255 characters
City or place of mandate signature.
Date when mandate was signed.
Possible values: [ONLINE
, OFFLINE
]
Method of mandate acceptance.
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 (from schema)
- Example
Schema
- MOD1
- MOD2
Array [
]
errorDetails
object
message
object
oneOf
string
string
{
"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 (from schema)
- Example
Schema
- MOD1
- MOD2
Array [
]
errorDetails
object
message
object
oneOf
string
string
{
"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 (from schema)
- Example
Schema
- MOD1
- MOD2
Array [
]
errorDetails
object
message
object
oneOf
string
string
{
"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 (from schema)
- Example
Schema
- MOD1
- MOD2
Array [
]
errorDetails
object
message
object
oneOf
string
string
{
"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 (from schema)
- Example
Schema
- MOD1
- MOD2
Array [
]
errorDetails
object
message
object
oneOf
string
string
{
"error": "string",
"errorDetails": {
"context": {},
"gatewayDescription": "string",
"paymentProviderDescription": "string"
},
"message": "string"
}
{
"traceId": "00-1234567890abcdef0123456789abcdef-0123456789abcdef-00",
"errors": [
{
"message": "Internal server error."
}
]
}