Skip to main content
PUT
/
payments
/
{payment_id}
/
cancel
Cancel a payment
curl --request PUT \
  --url https://payouts.api.trykarat.com/payments/{payment_id}/cancel \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "success": true
  }
}

Authorizations

Authorization
string
header
required

Pass your API key as a bearer token: Authorization: Bearer <API_KEY>.

Path Parameters

payment_id
string<uuid>
required

The ID of the payment intent to cancel.

Response

The payment was cancelled.

data
object