add_rp_sdd


POST  - Link a direct debit representation to a guarantee


Argument Description Type - Length Mandatory
sdd_reference_originOriginal direct debit referenceString - 32YES
sdd_referenceDirect debit representation referenceString - 32YES
due_dateDirect debit due dateString - 10YES
amountDirect debit amountString - 18YES



Request

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


{
"sdd_reference_origin": "REF_00001",
"sdd_reference": "RPA-REF_00001",
"due_date": "01/01/2018",
"amount": "1000"}
                                                


If SDD addition is allowed

Response

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


{
    "result" : true
}
                                        


If SDD addition is refused

Response

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


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


Argument Description
result boolean :
true : Successful action
false : Action failed
code See error codes in annex.
Thanks to fill-in all the mandatory fields
Request

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