revoque_mandate
POST  -- Cancel a mandate
| Argument | Description | Max size | Example |
|---|---|---|---|
| umr | Unique mandate reference | String - 35 | |
| revoque_reason | Revocation reason | Char - 1 | 1 : End of contract 2 : Revocation request by debitor 3 : Revocation request by creditor 4 : Deletion by debitor 5 : Deletion by creditor |
Request
POST /xxxx/revoque_mandate HTTP/1.1
Host: xxx.xxxxxxxx.fr
Authorization: Basic JQheySHkalSNuakkmSmm==
Content-Type: application/json
Accept: application/json
{
"umr": "XXXX",
"revoque_reason": "1"}
If mandate was successfully cancelled/revoked
Response
HTTP/1.1 200 OK
Content-Type: application/json
{
"result" : true
}
If revoquation 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/revoque_mandate HTTP/1.1
Host: xxx.safedebit.fr
Authorization: Basic JQheySHkalSNuakkmSmm==
Content-Type: application/json
Accept: application/json