omise / omise-ruby

Omise Ruby Library
https://docs.opn.ooo
MIT License
40 stars 20 forks source link

Add accept method for Dispute #41

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