download_mandate_file
GET   - Download mandate file
| Argument | Description | Type - Length | Mandatory |
|---|---|---|---|
| safedebit_consumer_reference | Safedebit consumer reference | String - 35 | YES |
| umr | Unique mandate reference | String - 35 | NO |
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). |
Request
GET /ssp/get_available_files? HTTP/1.1
Host: xxx.safedebit.fr
Authorization: Basic JQheySHkalSNuakkmSmm==
Accept: application/json