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"}
                                                
If transfer was successfully canceled

Response

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


{
    "result": true
}
                                            
If transfer cancelation 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 /xxxx/cancel_transfer HTTP/1.1
Host: xxx.xxxxxxx.fr
Authorization: Basic JQheySHkalSNuakkmSmm==
Content-Type: application/json
Accept: application/json