$SECRET_KEY)); // Creando Cargo a una tarjeta $refund = $culqi->Refunds->create( array( "amount" => 500, "charge_id" => "{charge_id}", "reason" => "bought an incorrect product" ) ); // Respuesta echo json_encode($refund); } catch (Exception $e) { echo json_encode($e->getMessage()); }