update_beneficiary
POST  - Mise à jour des données d'un bénéficiaire
| Argument | Description | Type - Taille | Obligatoire |
|---|---|---|---|
| beneficiary_reference | Référence unique du bénéficiaire | String - 32 | OUI |
| iban | Nouveau IBAN du bénéficiaire | String - 34 | NON |
| ics | Nouveau ics du bénéficiaire | String - 35 | NON |
Requête
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"}
Si l'action d'ajout des données bénéficiaire à été réalisée avec succès
Réponse
HTTP/1.1 200 OK
Content-Type: application/json
{
"result" : true
}
Si l'action du bénéficiaire a échoué
Réponse
HTTP/1.1 200 OK
Content-Type: application/json
{
"result" : false,
"code" : "XXXX"
}
| Argument | Description |
|---|---|
| result | true ou false : true : action réalisée avec succès false : action échouée |
| code | Voir codes d'erreur en annexe. |
Requête
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