omise / omise-python

Omise Python Library
https://docs.opn.ooo
MIT License
26 stars 15 forks source link

Add accept method for Dispute #47

Closed som-m closed 3 years ago

som-m commented 3 years ago

Summary

QA

You should be able to accept a dispute.

  1. Retrieve a dispute dispute = omise.Dispute.retrieve("dspt_test_5msj7ya0c27fryquml7")

  2. Accept the dispute dispute.accept()

  3. Check whether the dispute has been accepted, the status should be lost dispute.status