File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed
Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change @@ -316,6 +316,50 @@ that both app title and version are strings.
316316 client.plan.all()
317317 ```
318318
319+ # ## Transfers
320+
321+ - Fetch all Transfers
322+
323+ ```py
324+ client.transfer.all()
325+ ```
326+
327+ - Fetch transfer by payment id
328+
329+ ```py
330+ client.transfer.fetch(" <PAYMENT_ID>" )
331+ ```
332+
333+ - Create Transfer from given data
334+
335+ ```py
336+ client.transfer.create(data = DATA )
337+ DATA should contain these keys
338+ amount : 100
339+ currency : INR
340+ account : dummy
341+ ```
342+
343+ - Edit Transfer from given data
344+
345+ ```py
346+ client.transfer.edit(transfer_id = transfer_id, data = DATA )
347+ DATA should contain these keys
348+ on_hold : True / False
349+ ```
350+
351+ - Reverse a given Transfer
352+
353+ ```py
354+ client.transfer.reverse(transfer_id = transfer_id)
355+ ```
356+
357+ - Get all reversals for a given Transfer
358+
359+ ```py
360+ client.transfer.reversals(transfer_id = transfer_id)
361+ ```
362+
319363# # Bugs? Feature requests? Pull requests?
320364
321365All of those are welcome. You can [file issues][issues] or [submit pull requests][pulls] in this repository.
You can’t perform that action at this time.
0 commit comments