edit_refund_link
POST  -- Editer un lien de remboursement
| Argument | Description | Type - Taille | Exemple | Obligatoire |
|---|---|---|---|---|
| reference | Référence du remboursement | String - 32 | OUI | |
| campaign_reference | Référence de la campagne | String - 32 | NON | |
| Email de la personne | String - 64 | NON | ||
| amount | Le montant (en centimes) | Integer - 11 | NON | |
| phone_number | Téléphone | String - 12 | NON | |
| comment | Commentaire | String - 64 | NON |
Requête
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"}
Réponse
HTTP/1.1 200 OK
Content-Type: application/json
{
"result": true
}
Réponse
HTTP/1.1 200 OK
Content-Type: application/json
{
"result": false,
"error": "Aucun lien de correspond"
}