edit_refund_link
POST  -- Edit a refund link
| Argument | Description | Type - Length | Example | Mandatory |
|---|---|---|---|---|
| reference | Refund reference | String - 32 | YES | |
| campaign_reference | Campaign reference | String - 32 | NO | |
| Person email | String - 64 | NO | ||
| amount | Amount (in cents) | Integer - 11 | NO | |
| phone_number | Phone umber | String - 12 | NO | |
| comment | Comment | String - 64 | NO |
Request
POST /xxxx/edit_refund_link HTTP/1.1
Host: xxx.xxxxxxxx.fr
Authorization: Basic JQheySHkalSNuakkmSmm==
Content-Type: application/json
Accept: application/json
{
"reference": "TEST-1",
"campaign_reference": "CAMPAING-1",
"amount": "900",
"mail": "foo.bar@mail.com",
"comment": "Ceci est un commentaire",
"phone_number": "0601020304"}
Response
HTTP/1.1 200 OK
Content-Type: application/json
{
"result": true
}
Response
HTTP/1.1 200 OK
Content-Type: application/json
{
"result": false,
"error": "Aucun lien de correspond"
}