Refund transaction
Issue a full refund for a payment transaction.
Issue a full refund for a payment transaction.
ApiKeyAuth In: header
application/json
application/json
application/json
curl -X POST "https://commet.co/api/v1/transactions/string/refund"Issue a full refund for a payment transaction.
Transaction public ID
{
"success": true,
"data": {
"id": "string",
"status": "refunded"
}
}{
"success": false,
"error": {
"type": "validation_error",
"code": "string",
"message": "string",
"doc_url": "string",
"param": "string"
}
}{
"success": false,
"error": {
"type": "validation_error",
"code": "string",
"message": "string",
"doc_url": "string",
"param": "string"
}
}