download_mandate_file


GET   - Download mandate file


Argument Description Type - Length Mandatory
safedebit_consumer_referenceSafedebit consumer referenceString - 35YES
umrUnique mandate referenceString - 35NO


Request

GET /xxxx/download_mandate_file?safedebit_consumer_reference=XXXXX&umr=UMR_XXXX HTTP/1.1
Host: xxx.xxxxxxxx.fr
Authorization: Basic JQheySHkalSNuakkmSmm==
Content-Type: application/json
Accept: application/json



If file was successfully fetched

Response

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


{
    "result" : true,
    "file_data" : "xxxxxxxxxxxxxxxx"
}
                                        


If file fetching 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
file_data File in base64
code See (error codes in annex).
Thanks to fill-in all the mandatory fields
Request

GET /ssp/get_available_files? HTTP/1.1
Host: xxx.safedebit.fr
Authorization: Basic JQheySHkalSNuakkmSmm==
Accept: application/json