cancel_transfer
POST  -- Cancel a transfer
While transfer is not yet emited to the bank, it can be canceled.
| Argument | Description | Type - Length | Example | Mandatory |
|---|---|---|---|---|
| transfer_reference | Transfer reference | String - 35 | YES |
Request
POST /xxxx/cancel_transfer HTTP/1.1
Host: xxx.xxxxxxxx.fr
Authorization: Basic JQheySHkalSNuakkmSmm==
Content-Type: application/json
Accept: application/json
{
"transfer_reference": "virement1234"}
Response
HTTP/1.1 200 OK
Content-Type: application/json
{
"result": true
}
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 /xxxx/cancel_transfer HTTP/1.1
Host: xxx.xxxxxxx.fr
Authorization: Basic JQheySHkalSNuakkmSmm==
Content-Type: application/json
Accept: application/json