Skip to content

Commit 8c1b5e0

Browse files
Merge pull request #153 from pt-techaspa/Refund-deprecate
Adding deprecated to email refunds and email to refund examples
2 parents 24dfd21 + fc26320 commit 8c1b5e0

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

docs/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,9 @@ Note, that at the moment HTTP 400 may occur also for 3rd party reasons - e.g. be
309309
}
310310
```
311311

312-
### Email refunds
312+
### Email refunds (deprecated)
313+
314+
Email refunds are deprecated, please use `/payments/{transactionId}/refund` endpoint with the customer’s email.
313315

314316
`HTTP POST /payments/{transactionId}/refund/email` email refunds a payment by transaction ID.
315317

docs/examples.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,7 @@ signature: 4d84e3aedaa847b23e672ff3bc9c57ae5d1c1e84aec251ce39914eaf250bb8b2
361361
```json
362362
{
363363
"amount": 1590,
364+
"email": "recipient@example.com"
364365
"refundStamp": "88907910-7b85-4940-8563-202b93d5ca79",
365366
"refundReference": "your reference",
366367
"callbackUrls": {

0 commit comments

Comments
 (0)