cancel_sdd


POST  -- Cancel a SDD

While SDD is not transmitted to the bank, it is possible to modify or cancel it.

Reminder :
Levy (SDD) is sent to the bank on (due_date - 1 day), at the end of the day.
Once SDD is transmitted, it can't be modified or canceled.



Search argument Description Max size
sdd_referenceSDD referenceString - 35



Request

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


{
"sdd_reference": "REF_XXX"}
                                                


If levy successfully was canceled

Response

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


{
    "result" : true
}
                                        


If SDD cancelation 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).
Thanks to fill-in all the mandatory fields
Request

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