- Start
- Documentation
- V2
- Overview
- Authentication
- Endpoints
- V1
SDD - Mandate - Create
Sandbox
Sandbox
POST
/sdd/mandate/create
sdd
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Body Params application/json
email
string <email>
required
>= 6 characters<= 128 characters
lastname
string
required
>= 1 characters<= 128 characters
Match pattern:
^[A-Za-z0-9]+$
iban
string
required
>= 14 characters<= 34 characters
Match pattern:
^[A-Z]{2}[0-9]{2}[A-Z0-9]{10,30}$
address
string
required
>= 1 characters<= 128 characters
Match pattern:
^[A-Za-z0-9]+$
zipCode
string
required
>= 1 characters<= 16 characters
Match pattern:
^[A-Za-z0-9]+$
city
string
required
>= 1 characters<= 64 characters
Match pattern:
^[A-Za-z0-9]+$
country
string
required
>= 3 characters<= 3 characters
uid
string | null
optional
>= 1 characters<= 64 characters
Match pattern:
^[A-Za-z0-9]+$
bic
string | null
optional
>= 8 characters<= 11 characters
Match pattern:
^[A-Z]{6}[A-Z0-9]{2}([A-Z0-9]{3})?$
accountOwner
string | null
optional
>= 1 characters<= 64 characters
clientId
string | null
optional
>= 7 characters<= 7 characters
Match pattern:
^[A-Za-z0-9]{7}$
firstname
string | null
optional
>= 1 characters<= 128 characters
Match pattern:
^[A-Za-z0-9]+$
callingCode
integer | null
optional
>= 1<= 999
phone
string | null
optional
>= 5 characters<= 18 characters
Match pattern:
^[0-9]{5,18}$
birthDate
string <date> | null
optional
>= 10 characters<= 10 characters
nationality
string | null
optional
>= 3 characters<= 3 characters
Example
{
"email": "abc@abc.com",
"lastname": "ABCabc123",
"iban": "FR7630001007941234567890185",
"address": "ABCabc123",
"zipCode": "ABCabc123",
"city": "ABCabc123",
"country": "FRA"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.sandbox.easytransac.com/v2/sdd/mandate/create' \
--header 'Content-Type: application/json' \
--data-raw '{
"email": "abc@abc.com",
"lastname": "ABCabc123",
"iban": "FR7630001007941234567890185",
"address": "ABCabc123",
"zipCode": "ABCabc123",
"city": "ABCabc123",
"country": "FRA"
}'
Responses
🟢200OK
application/json
Body
success
boolean
required
date
string <date-time>
required
>= 25 characters<= 25 characters
data
object
required
mandateId
string
required
>= 20 characters<= 20 characters
Match pattern:
^[a-z0-9]{20}$
status
enum<string>
required
>= 6 characters<= 7 characters
Allowed values:
activeinvalidpending
dateCreated
string <date-time>
required
Example
{
"success": true,
"date": "2024-12-31T23:59:59+02:00",
"data": {
"mandateId": "abcabcabcabcabcabc12",
"status": "active",
"dateCreated": "2024-12-31T23:59:59+02:00"
}
}
🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
🟠404Record Not Found
🟠405405
🔴500Server Error
🔴502Bad Gateway
🔴504Gateway Timeout