cURL
curl --request POST \ --url https://api.example.com/payments/{paymentId}/cancel \ --header 'Content-Type: application/json' \ --data ' { "reason": "fraudulent" } '
{}
Documentation IndexFetch the complete documentation index at: https://docs.korint.io/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.korint.io/llms.txt
Use this file to discover all available pages before exploring further.
the id of the payment
the reason of the cancellation
fraudulent
requested_by_customer
abandoned
duplicate
The response is of type object.
object
Was this page helpful?