ข้ามไปยังเนื้อหาหลัก
เวอร์ชัน: ล่าสุด

Reverse a charge

Reverses an uncaptured charge. This is useful when a pre-authorized charge should not be captured.

Request Parameters

Path & Query Parameters

Parameters

Responses

200 Charge reversed successfully

Returns a Charge object.

400 undefined

401 undefined

Code Samples

curl https://api.omise.co/charges/:id/reverse \
-u skey_test_5xuy4w91xqz7d1w9u0t:
🔑ข้อมูลยืนยันตัวตน API

Try it out

Use the interactive form above to test this endpoint.