update_beneficiary
POST  - Update beneficiary data
| Argument | Description | Type - Length | Mandatory |
|---|---|---|---|
| beneficiary_reference | Unique reference of beneficiary | String - 32 | YES |
| iban | New IBAN for beneficiary | String - 34 | NO |
| ics | Beneficiary's new ICS | String - 35 | NO |
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). |
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