add_mandate


POST  - Adding an already signed mandate

Argument Description Type - Length Example Mandatory
safedebit_consumer_referenceSafedebit consumer referenceString - 35XXXXXYES
sign_dateMandate signature dateString - 10DD/MM/YYYYNO**
sign_cityTown/place of mandate signatureString - 35ParisNO**
umrUnique mandate referenceString - 35YES
icsBeneficary's SEPA String - 35YES *
file_dataMandate file in base64 formatbase64BinaryYES



Request

POST /xxxx/add_mandate HTTP/1.1
Host: xxx.xxxxxxxx.fr
Authorization: Basic JQheySHkalSNuakkmSmm==
Content-Type: application/json
Accept: application/json


{
"safedebit_consumer_reference": "XXXXXXXX",
"sign_date": "01/01/1990",
"sign_city": "Test",
"umr": "UMR_XXXX",
"ics": "FRXXXX",
"file_data": "ZGF0YTphcHBsaWNhdGlvbi9wZGY7F...."}
                                                
If mandate successfully created

Response

HTTP/1.1 200 OK
Content-Type: application/json


{
    "result" : true
}
                                        


If mandate creation failed

Response

HTTP/1.1 200 OK
Content-Type: application/json


{
    "result" : false,
    "code" : "XXXX"
}
                                         


Argument Description
result true or false :
true : action succeeded
false : action failed
code See (error codes in annex).
Authorized extensions : gif,jpeg,jpg,png,pdf.
Thanks to fill-in all the mandatory fields
Request

HTTP/1.1 200 OK
POST /ssp/add_mandate HTTP/1.1
Host: xxx.safedebit.fr
Authorization: Basic JQheySHkalSNuakkmSmm==
Content-Type: application/json
Accept: application/json