cancel_refund_link
POST  -- Delete a refund link for a payment
| Argument | Description | Type - Length | Example | Mandatory |
|---|---|---|---|---|
| reference | Refund reference | String - 32 | YES | |
| comment | Comment | String | NO |
Request
POST /xxxx/cancel_refund_link HTTP/1.1
Host: xxx.xxxxxxxx.fr
Authorization: Basic JQheySHkalSNuakkmSmm==
Content-Type: application/json
Accept: application/json
{
"reference": "TEST-1",
"comment": "Suppression du lien avec la référence TEST-1"}
Response
HTTP/1.1 200 OK
Content-Type: application/json
{
"result" : true,
"reference" : "reference-1234"
}
Response
HTTP/1.1 200 OK
Content-Type: application/json
{
"result" : false,
"error" : "Pas de lien correspondant"
}