Skip to content

Commit c15d132

Browse files
DOCS-3893:Add Credit invoice and refund feature
1 parent 8b71582 commit c15d132

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

content/payment-methods/e-invoicing.md

+5-12
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,9 @@ The invoice is sent to the email address provided.
288288
--header 'Cookie: PHPSESSID=0ehsns7asf0vgarhlf77d1ac17'
289289
```
290290

291+
5. In response to refund invoice request, you receive an object including a PDF encoded in `base_64`.
291292

293+
6. To convert the `base_64` to a PDF, you need to pass the `base_64` to a converter.
292294

293295
</details>
294296

@@ -306,10 +308,12 @@ The invoice is sent to the email address provided.
306308

307309
--header 'Cookie: PHPSESSID=0ehsns7asf0vgarhlf77d1ac17'
308310
```
311+
3. In response to refund invoice request, you receive an object including a PDF encoded in `base_64`.
309312

310-
</details>
313+
4. To convert the `base_64` to a PDF, you need to pass the `base_64` to a converter.
311314

312315
---
316+
</details>
313317

314318
</details>
315319

@@ -359,17 +363,6 @@ See API reference – [Refund order](/reference/refundorder).
359363

360364
---
361365

362-
</details>
363-
<details id="how-to-refund-an-order">
364-
<summary>How to refund an order with checkout data</summary>
365-
<br>
366-
367-
1. [Get order](/reference/getorder)
368-
2. From the response, copy the `shopping cart`.
369-
3. In [Refund order](/reference/refundorder) request, paste `checkout_data.items`
370-
4. From the `checkout_data.items`, duplicate the `item` you want to do a refund and add a negative (-) to the `quantity` amount.
371-
5. Send the request.
372-
373366
</details>
374367

375368
## Shipment

0 commit comments

Comments
 (0)