update_beneficiary


POST  - Update beneficiary data

Argument Description Type - Length Mandatory
beneficiary_referenceUnique reference of beneficiaryString - 32YES
ibanNew IBAN for beneficiaryString - 34NO
icsBeneficiary's new ICSString - 35NO


Request

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


{
"beneficiary_reference": "XXXXXXXXX",
"iban": "FR76XXXXXXXXXXXXXXXXXXXXXXX",
"ics": "xxxxxx"}
                                                


If beneficiary was successfully modified

Response

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


{
    "result" : true
}
                                        


If beneficiary modification 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/update_beneficiary HTTP/1.1
Host: xxx.safedebit.fr
Authorization: Basic JQheySHkalSNuakkmSmm==
Content-Type: application/json
Accept: application/json